From: Hakim El Hattab Date: Tue, 10 Jul 2012 01:15:01 +0000 (-0400) Subject: adjustments to initial node messages #57 X-Git-Tag: 1.4.0~17 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=afd10f68865b74e84fe1848df1f2a0cb88e91428;p=reveal.js.git adjustments to initial node messages #57 --- diff --git a/plugin/slidenotes/index.js b/plugin/slidenotes/index.js index 41282a3..1be941e 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" );