You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should be able to run node deckdown.js {preso_name} where preso_name is the markdown file to convert. The HTML should be saved alongside the preso name in the same dir.
Also consider renaming /pres to /presentations or decks.
The text was updated successfully, but these errors were encountered:
I like what you're working on. I tweaked some command-line code I already had. Maybe a head start? Anyways, good luck.
$ node deckdown.js
Please provide a markdown presentation (e.g. node [path/to/]deckdown.js [path/to/]presentation.md)
$ node deckdown.js markdown.md
# Presentation Slide Title
deckdown.js
vararguments=process.argv.slice(2),preso_name=arguments[0]||'';if(preso_name){varpath=require('path'),fs=require('fs');try{varpreso_markdown=fs.readFileSync(path.resolve(preso_name),'utf-8');console.log(preso_markdown);}catch(error){console.error(newDate().toUTCString()+' caughtException:',error.message);console.error(error.stack);}}else{console.error('Please provide a markdown presentation (e.g. node [path/to/]deckdown.js [path/to/]presentation.md)');}
I should be able to run
node deckdown.js {preso_name}
where preso_name is the markdown file to convert. The HTML should be saved alongside the preso name in the same dir.Also consider renaming
/pres
to/presentations
ordecks
.The text was updated successfully, but these errors were encountered: