Open bluenote10 opened 11 years ago
I am also VERY interested in this capability as I am constantly editing my .md.
I've checked the forks and @didiercrunch implemented this feature already.
Let's hope he compiles a Pull Request. Ref: https://github.com/didiercrunch/strapdown/commits/gh-pages
+1
+1
I just use Python and Jinja2 on a Strapdown template to get the above behavior. Its also cool to add mathjax support as shown in https://gist.github.com/memeplex/6309540
It's pretty easy to do using an XHR call: https://gist.github.com/bendavis78/236fb890ba23b10e66fc
Here's my version to support the usage of a src attribute: https://gist.github.com/onesail/5674982a379cef273bb3275344e3c20b
example:
<xmp src="homepage.md" theme="cerulean" style="display:none;"></xmp>
<script src="load-xmp-src.js"></script>
<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script>
+1. Is the project dead.. ?
check bootmark
it's originally a fork of strapdown but a lot more extended:
demo here in the demo you can:
?theme=<any bootswatch theme>
?fetch=<any public markdown file>
?toc=false
A nice feature would be the possibility to keep the actual markdown text in a separate file instead of embedding it in a xmp tag. This would allow to have a markdown file for editing (and correct syntax highlighting in the editor) and a html file for viewing. It probably can already be done via XMLHTTPRequest but a prepared user friendly one-liner to include a client side markdown file would be great.