• Dessalines@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Seems pretty interesting… but I wonder what differentiates this from static website generators like jekyll or zola, which also use markdown for content.

  • Arthur Besse@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      3 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.