These are chat archives for codebar/tutorials

17th
Jan 2015
Nick Jacobs
@njacobs5074
Jan 17 2015 18:48
What is the process for converting the .md files into HTML content? Thanks!
Shahmir Javaid
@shahmirj
Jan 17 2015 18:48
@njacobs5074 there are many markdown converted libraries
what language are you after?
Nick Jacobs
@njacobs5074
Jan 17 2015 18:49
Ah no, I meant the codebar tutorials.
So far as I can tell they're generated from the README.md files, no?
Shahmir Javaid
@shahmirj
Jan 17 2015 18:50
can you point me to a link, I am not a 100% sure
I'm guessing there's a script that converts the README.md into the corresponding HTML files served up on tutorials.codebar.io.
Shahmir Javaid
@shahmirj
Jan 17 2015 19:04
I can't see anywhere it converts the .md files into html. Im sure there is a build step somewhere.
Jon Kelly
@jkbits1
Jan 17 2015 20:34

@njacobs5074 AFAIK (and have come to unthinkingly rely on!) this is done automatically. The existing tutorials exist as .md files, and any pull requests are made to those .md files, with no further steps required.

In case it's of interest, to view .md files as I'm editing them, I use a mix of viewing the file on the github site, and plug-ins for Notepad++ and WebStorm.

Alex Pounds
@creature
Jan 17 2015 22:36
@njacobs5074 Yep, @jkbits1 is correct! It's all automatic. The tutorials are basically a Jekyll install, served via Github pages. So you should be OK to preview your work in any Markdown viewer, and send a pull request without any generated HTML.
Nick Jacobs
@njacobs5074
Jan 17 2015 23:57
Thanks, @jkbits1 and @creature. That makes it easy. Shiny! :sparkles: