From afd10f68865b74e84fe1848df1f2a0cb88e91428 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 9 Jul 2012 21:15:01 -0400 Subject: [PATCH] adjustments to initial node messages #57 --- plugin/slidenotes/index.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugin/slidenotes/index.js b/plugin/slidenotes/index.js index 41282a3d..1be941e0 100644 --- a/plugin/slidenotes/index.js +++ b/plugin/slidenotes/index.js @@ -43,5 +43,13 @@ app.get("/notes/:socketId", function(req, res) { // Actually listen app.listen(opts.port || null); -console.log("Open the slides at http://localhost" + (opts.port ? (':' + opts.port) : '') + " and look for a link to the speaker notes in the console"); -console.log("Advance through your slides and your notes will advance automatically"); +var brown = '\033[33m', + green = '\033[32m', + reset = '\033[0m'; + +var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' ); + +console.log( brown + "reveal.js - Slide Notes" + reset ); +console.log( "1. Open the slides at " + green + slidesLocation + reset ); +console.log( "2. Click on the link your JS console to go to the notes page" ); +console.log( "3. Advance through your slides and your notes will advance automatically" );