I like this, but I hate the FOUT that it seems to create
Strapdown.js – Instant and elegant Markdown documents
31–40 of 41 posts
Re: Strapdown.js – Instant and elegant Markdown documents
#32Re: Strapdown.js – Instant and elegant Markdown documents
#33Re: Strapdown.js – Instant and elegant Markdown documents
#34I don't see how this is SEO friendly, as claimed by the site. Is the idea that because the text is already on the HTML isn't not a negative from an SEO point of view?
Re: Strapdown.js – Instant and elegant Markdown documents
#35I like this, but I hate the FOUT that it seems to create
I don't think it has any FOUT, because the whole element is styled with "display: none;". Only after the JS is parsed, it formats the Markdown code and then re-display it.
Re: Strapdown.js – Instant and elegant Markdown documents
#36Earlier quoted context omitted.
I wish browsers would include a basic Markdown renderer.
But not everyone likes Markdown, it would possibly be bloated! Maybe we should add a scripting language so that sites can use any source format they want? Oh wait.
Re: Strapdown.js – Instant and elegant Markdown documents
#37How is this remotely elegant? You're including a script to render simple formatted text, something that can be accomplished by statically compiling from markdown to HTML before serving. If you can serve static HTML, why not just do that?
It could be useful if you just want to edit a file in notepad and drop it on a CDN or fileshare without any tooling. I don't run a blog but it could be nice. I'd definitely call it elegant, though not exactly minimal. I helped run a fraternity website for a bit. If I could say, hey just download the source from chrome, tweak the bulletin in notepad, and upload it back to the ftp page that would have been great. It al…
How does it, given that all the markdown is inside that
block?Re: Strapdown.js – Instant and elegant Markdown documents
#38Strapdown-Zeta (a fork) has the ability to load MD files from src and stuff:
https://github.com/chaitin/strapdown-zeta/blob/master/README...
Re: Strapdown.js – Instant and elegant Markdown documents
#39Re: Strapdown.js – Instant and elegant Markdown documents
#40Strapdown isn't in active development. PRs haven't been merged in over a few years. Strapdown-Zeta (a fork) has the ability to load MD files from src and stuff: https://github.com/chaitin/strapdown-zeta/blob/master/README...
FYI, if you want to src attribute to load markdown files you need to build js files yourself as the js file in the CDN doesn't have the feature for some reason.
I've created an issue for this https://github.com/chaitin/strapdown-zeta/issues/119