this post was submitted on 14 Feb 2022
0 points (NaN% liked)

General Programming Discussion

7814 readers
2 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] cypherpunks@lemmy.ml 0 points 2 years ago (1 children)

audacious! but maybe they're going too far? there seems to be an escaping bug on their own documentation page.

this:

is rendering for me as this:

Note that the <code> tag on the "inlinedHighlight" example does not appear in the source column. Looking at the generated DOM, I see this:

...which only raises further questions. (Why is something unescaping the &lt; but not the &nbsp;?)

Also, before I relaxed NoScript, it rendered like this:

I also don't see how the diagram feature could practically produce good results more often than bad ones without a lot of practice, but it's pretty neat when you get it right.

I don't think this is likely to displace Markdown :) but I could see maybe trying it for a project sometime.

[โ€“] dessalines@lemmy.ml 1 points 2 years ago

They are just using a commonmark parser with some extensions, like a lot of apps like hedgedoc do. I'm just not sure how this is different from a static site generator.