hi, have been tinkering with markdown for a few hours now, so am still a noob. would like to use it for a documentation project which will be served over the web. need to know if there's any way to transform markdown content to (x)html on the fly at the web server level? use case: a web server with the above capabilities would have the document root folder holding a bunch of markdown files and a 'css' file. on visiting that web server's address over 'http', the index.md file would get transformed into (x)html, pick-up the 'css' and show a beautiful page to the visitor. all this, while i would be busy writing plain old markdown. i am sorry if this has been asked out here before, but i couldn't find any such queries, perhaps my googling skills are bad. :) thanks, ~mayuresh
Have you considered compiling the website on your computer first then uploading it as a static website? E.g. via Jekyll? hi, have been tinkering with markdown for a few hours now, so am still a noob. would like to use it for a documentation project which will be served over the web. need to know if there's any way to transform markdown content to (x)html on the fly at the web server level? use case: a web server with the above capabilities would have the document root folder holding a bunch of markdown files and a 'css' file. on visiting that web server's address over 'http', the index.md file would get transformed into (x)html, pick-up the 'css' and show a beautiful page to the visitor. all this, while i would be busy writing plain old markdown. i am sorry if this has been asked out here before, but i couldn't find any such queries, perhaps my googling skills are bad. :) thanks, ~mayuresh _______________________________________________ Markdown-Discuss mailing list Markdown-Discuss at six.pairlist.net https://pairlist6.pair.net/mailman/listinfo/markdown-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://pairlist6.pair.net/pipermail/markdown-discuss/attachments/20150204/592950a3/attachment.html>
+++ Mayuresh Kathe [Feb 04 15 13:57 ]:>hi, > >have been tinkering with markdown for a few hours now, so am still a >noob. > >would like to use it for a documentation project which will be served >over the web. > >need to know if there's any way to transform markdown content to >(x)html on the fly at the web server level?I'm not recommending this approach, but if you really want to do this you could use an nginx module compiled against a C Markdown library. This would give you maximum performance and not involve scripting languages at all. Here's an example: https://github.com/jbfavre/ngx-markdown-module Note the cautions in the README.