spro / lit

Literate programming for any language. It's 🔥.
16 stars 2 forks source link

Read codeblocks #2

Open nelsonmestevao opened 5 years ago

nelsonmestevao commented 5 years ago

Instead of indented code blocks, in markdown, it is much more common to be inside a fence block that starts with ```language.

spro commented 5 years ago

That's true for standard markdown, but not necessarily in literate programming because 1) the indentation is easier to parse (both by computer and eyes) and 2) the language is always going to be the same.

nelsonmestevao commented 5 years ago

Well, the language is only important for the editor to giving proper syntax highlight.

Even though a language will not change I would prefer (because it is more standardized).