3 ms·
TL;DR posted up the earlier-promised example Literate CoffeeScript blog engine: https://github.com/jashkenas/journo https://github.com/jashkenas/journo
by jashkenas 14y ago
TL;DR posted up the earlier-promised example Literate CoffeeScript blog engine: https://github.com/jashkenas/journo https://github.com/jashkenas/journo
- weareconvo 14y agoI've always been excited by the idea of literate programming, and after having flirted with most of the other Javascript meta-languages, now use Coffeescript as my main language for both server-side (node.js) and client-side code. Is there currently a good syntax highlighting mode that properly displays .litcoffee files? I currently use Emacs with the coffee-mode major mode, but I don't think it's been updated yet.
- jashkenas 14y agoI'm not aware of an Emacs one being updated yet, although I think that someone's finished it for Vim. If you want to be an open-source hero -- go ahead and do it yourself ;) It's mainly a matter of taking the Markdown package, and the CoffeeScript package, and pasting the latter into the former, right where the syntax rule for "code block" goes.
- weareconvo 14y agoBut that sounds haaaaaaard.
- smoyer 14y agoDo you have a link to the vim plugin you referenced?
- joyrex 14y agohttps://github.com/mintplant/vim-literate-coffeescript https://github.com/mintplant/vim-literate-coffeescript
- david4096 14y agoFirst, I'd like to thank you for your great work, I'm one of the many to have benefitted from it. I decided to take journo for a spin and wrote this up in hopes you'd continue to work on it. https://gist.github.com/david4096/5106218 https://gist.github.com/david4096/5106218