joereynolds / what-to-code

Ideas for things to program
MIT License
1.51k stars 64 forks source link

Markdown: No-op? #4

Closed BenWiederhake closed 8 years ago

BenWiederhake commented 8 years ago

Regarding the following entry:

A site generator based on markdown files and no setup. You send the file over to the server and it renders it for you, that's it!

Hmm. Sounds exactly like what markdown already does. Give it a markdown file, it outputs HTML. Tell your HTTP server to serve that file -- or open it in your browser directly. Just reload the tab by hand when editing the file.

So, what exactly do you need there?

joereynolds commented 8 years ago

Is markdown a package or are you referring to the format? A browser won't just render a .md file for you if that's what you mean?

BenWiederhake commented 8 years ago

I mean the original implementation of Markdown, which was "just" a simple tool that took a Markdown file and produced a HTML file (or wrote it to stdout).

This original markdown implementation (which is/was is perl) is available in Debian

There also seems to be a C implementation called discount, a Python implementation (that even properly acknowledges who came first and that it's compatible with the original Markdown flavor), and of course a NodeJS implementation.

There's even a list that claims to be all the differences between GFM and actual Markdown, but (sadly) no list of things that Github automatically filters and removes before serving it.

Apart from that, there's lots of plugins for Eclipse, IntelliJ, and dedicated IDEs, that allow you to write Markdown with preview, side-by-side.

Does that fit your needs?

joereynolds commented 8 years ago

Ah yeah, that's pretty much exactly what I meant! Sorry for the confusion D: