home.social

#commonmark — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #commonmark, aggregated by home.social.

fetched live
  1. has horrible edge cases and despite the valiant effort of , the dialects seem to diverge and multiply over time. I consider switching my personal stuff to where possible: djot.net/

    Ideas:
    - Stop working on github.com/karlb/smu and maintain either github.com/karlb/cdjot or github.com/karlb/minipandoc instead
    - Use github.com/karlb/gemtext.lua to generate (for instead of the unmaintained github.com/karlb/md2gemini

    Thoughts?

  2. 🥳 New Kitten¹ release!

    Implemented workaround:

    There is a bug in the CommonMark spec that results in preformatted code with empty lines nested in an HTML node not rendering correctly.²

    In Kitten, this previously threw an error (see #294³ and also #318⁴).

    Kitten now works around the issue in its own parser.

    Full change log: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten:💕

    ¹ kitten.small-web.org
    ² github.com/commonmark/commonma
    ³ codeberg.org/kitten/app/issues
    codeberg.org/kitten/app/issues

    #Kitten #KittenRelease #SmallWeb #SmallTech #CommonMark #spec #bug #workaround #Markdown #web #dev #NodeJS

  3. 🥳 New Kitten¹ release!

    Implemented workaround:

    There is a bug in the CommonMark spec that results in preformatted code with empty lines nested in an HTML node not rendering correctly.²

    In Kitten, this previously threw an error (see #294³ and also #318⁴).

    Kitten now works around the issue in its own parser.

    Full change log: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten:💕

    ¹ kitten.small-web.org
    ² github.com/commonmark/commonma
    ³ codeberg.org/kitten/app/issues
    codeberg.org/kitten/app/issues

    #Kitten #KittenRelease #SmallWeb #SmallTech #CommonMark #spec #bug #workaround #Markdown #web #dev #NodeJS

  4. 🥳 New Kitten¹ release!

    Implemented workaround:

    There is a bug in the CommonMark spec that results in preformatted code with empty lines nested in an HTML node not rendering correctly.²

    In Kitten, this previously threw an error (see #294³ and also #318⁴).

    Kitten now works around the issue in its own parser.

    Full change log: codeberg.org/kitten/app/src/br

    Enjoy!

    :kitten:💕

    ¹ kitten.small-web.org
    ² github.com/commonmark/commonma
    ³ codeberg.org/kitten/app/issues
    codeberg.org/kitten/app/issues

    #Kitten #KittenRelease #SmallWeb #SmallTech #CommonMark #spec #bug #workaround #Markdown #web #dev #NodeJS

  5. I just learned that #commonmark treats a tab indentation as 4 spaces worth. Which leads to very weird results when spaced and tabs are combined, e.g. to align with long enumeration markers (numbers above 10 or 100 even) or blockquote markers.

    Oh my.

  6. I just learned that #commonmark treats a tab indentation as 4 spaces worth. Which leads to very weird results when spaced and tabs are combined, e.g. to align with long enumeration markers (numbers above 10 or 100 even) or blockquote markers.

    Oh my.

  7. I just learned that #commonmark treats a tab indentation as 4 spaces worth. Which leads to very weird results when spaced and tabs are combined, e.g. to align with long enumeration markers (numbers above 10 or 100 even) or blockquote markers.

    Oh my.

  8. RE: graz.social/@publicvoit/115875

    I really do like how #SilverBullet is explaining the consequences of using their version of #Markdown on silverbullet.md/Markdown (#CommonMark).

    With statements like that, people learn about the consequences of using that tool.

    They can either accept this or think about the negative effects before investing too much energy and data.

    I really urge any (#MD-)tool to include such a warning statement on their project page. It's for the benefit of your users.

    One of the reasons why I most probably would recommend switching to SilverBullet if you - for some reason - can't use #orgmode with #Emacs which is IMO the optimum tool for many set of requirements: karl-voit.at/2021/01/18/tool-c

    I'll migrate my wife's #PKM from #logseq (recent changes are a no-go to me) to SilverBullet or preferably Emacs. My upcoming #GLT26 Org-mode workshop (no recording) will tell her.

    #PIM #publicvoit

  9. RE: graz.social/@publicvoit/115875

    I really do like how #SilverBullet is explaining the consequences of using their version of #Markdown on silverbullet.md/Markdown (#CommonMark).

    With statements like that, people learn about the consequences of using that tool.

    They can either accept this or think about the negative effects before investing too much energy and data.

    I really urge any (#MD-)tool to include such a warning statement on their project page. It's for the benefit of your users.

    One of the reasons why I most probably would recommend switching to SilverBullet if you - for some reason - can't use #orgmode with #Emacs which is IMO the optimum tool for many set of requirements: karl-voit.at/2021/01/18/tool-c

    I'll migrate my wife's #PKM from #logseq (recent changes are a no-go to me) to SilverBullet or preferably Emacs. My upcoming #GLT26 Org-mode workshop (no recording) will tell her.

    #PIM #publicvoit

  10. RE: graz.social/@publicvoit/115875

    I really do like how #SilverBullet is explaining the consequences of using their version of #Markdown on silverbullet.md/Markdown (#CommonMark).

    With statements like that, people learn about the consequences of using that tool.

    They can either accept this or think about the negative effects before investing too much energy and data.

    I really urge any (#MD-)tool to include such a warning statement on their project page. It's for the benefit of your users.

    One of the reasons why I most probably would recommend switching to SilverBullet if you - for some reason - can't use #orgmode with #Emacs which is IMO the optimum tool for many set of requirements: karl-voit.at/2021/01/18/tool-c

    I'll migrate my wife's #PKM from #logseq (recent changes are a no-go to me) to SilverBullet or preferably Emacs. My upcoming #GLT26 Org-mode workshop (no recording) will tell her.

    #PIM #publicvoit

  11. Why #Markdown's emphasis syntax (**) fails outside of Western languages: A deep dive into #CommonMark's “delimiter run” flaws and their impact on #CJK users.

    A must-read for anyone interested in #internationalization and the future of Markdown:

    https://hackers.pub/@yurume/019b912a-cc3b-7e45-9227-d08f0d1eafe8

  12. Why #Markdown's emphasis syntax (**) fails outside of Western languages: A deep dive into #CommonMark's “delimiter run” flaws and their impact on #CJK users.

    A must-read for anyone interested in #internationalization and the future of Markdown:

    https://hackers.pub/@yurume/019b912a-cc3b-7e45-9227-d08f0d1eafe8

  13. Why #Markdown's emphasis syntax (**) fails outside of Western languages: A deep dive into #CommonMark's “delimiter run” flaws and their impact on #CJK users.

    A must-read for anyone interested in #internationalization and the future of Markdown:

    https://hackers.pub/@yurume/019b912a-cc3b-7e45-9227-d08f0d1eafe8

  14. One Open-source Project Daily

    Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

    https://github.com/markdown-it/markdown-it

    #1ospd #opensource #commonmark #javascript #markdown

  15. One Open-source Project Daily

    Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

    https://github.com/markdown-it/markdown-it

    #1ospd #opensource #commonmark #javascript #markdown

  16. One Open-source Project Daily

    Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

    https://github.com/markdown-it/markdown-it

    #1ospd #opensource #commonmark #javascript #markdown

  17. #CommonMark and its variants, like #gfm, allow to span setext-style header across multiple lines:

    Line one
    and two
    --------

    Note that this allows to insert line breaks in headings

    The Hobbit\
    or\
    There and Back Again
    ==================

    #Heading #Markdown

  18. and its variants, like , allow to span setext-style header across multiple lines:

    Line one
    and two
    --------

    Note that this allows to insert line breaks in headings

    The Hobbit\
    or\
    There and Back Again
    ==================

  19. #CommonMark and its variants, like #gfm, allow to span setext-style header across multiple lines:

    Line one
    and two
    --------

    Note that this allows to insert line breaks in headings

    The Hobbit\
    or\
    There and Back Again
    ==================

    #Heading #Markdown

  20. Line breaks within a paragraph are treated as spaces in Markdown. However, this gives bad results in East Asian languages, where spaces between words are unusual. Use

    pandoc -f markdown+east_asian_line_breaks

    to ensure that line breaks between East Asian wide characters get ignored.

    The extension also works with #CommonMark (commonmark), GitHub Flavored Markdown (gfm), and pandoc's CommonMark extension (commonmark_x).

    #pandoc #Markdown #Japanese #Korean #Chinese

  21. Line breaks within a paragraph are treated as spaces in Markdown. However, this gives bad results in East Asian languages, where spaces between words are unusual. Use

    pandoc -f markdown+east_asian_line_breaks

    to ensure that line breaks between East Asian wide characters get ignored.

    The extension also works with (commonmark), GitHub Flavored Markdown (gfm), and pandoc's CommonMark extension (commonmark_x).

  22. Line breaks within a paragraph are treated as spaces in Markdown. However, this gives bad results in East Asian languages, where spaces between words are unusual. Use

    pandoc -f markdown+east_asian_line_breaks

    to ensure that line breaks between East Asian wide characters get ignored.

    The extension also works with #CommonMark (commonmark), GitHub Flavored Markdown (gfm), and pandoc's CommonMark extension (commonmark_x).

    #pandoc #Markdown #Japanese #Korean #Chinese

  23. Just discovered the interactive #Markdown tutorial from #Commonmark: commonmark.org/help/ What a great resource!

    (Discovered it through #Jupyter, where they have embedded this into the help menu.)

  24. Just discovered the interactive #Markdown tutorial from #Commonmark: commonmark.org/help/ What a great resource!

    (Discovered it through #Jupyter, where they have embedded this into the help menu.)

  25. Just discovered the interactive #Markdown tutorial from #Commonmark: commonmark.org/help/ What a great resource!

    (Discovered it through #Jupyter, where they have embedded this into the help menu.)

  26. Just ran into a basic flaw in the commonmark spec/parser.

    github.com/commonmark/commonma

    Going to try and work around it in Kitten as I’m using Markdown-it, which implements the commonmark spec, and exhibits the same behaviour.

    (This is going to delay the next release as I’m considering it a blocker.)

    #Markdown #commonMark #parsing #bug

  27. Just ran into a basic flaw in the commonmark spec/parser.

    github.com/commonmark/commonma

    Going to try and work around it in Kitten as I’m using Markdown-it, which implements the commonmark spec, and exhibits the same behaviour.

    (This is going to delay the next release as I’m considering it a blocker.)

    #Markdown #commonMark #parsing #bug

  28. Just ran into a basic flaw in the commonmark spec/parser.

    github.com/commonmark/commonma

    Going to try and work around it in Kitten as I’m using Markdown-it, which implements the commonmark spec, and exhibits the same behaviour.

    (This is going to delay the next release as I’m considering it a blocker.)

    #Markdown #commonMark #parsing #bug

  29. #Markdown Is a Disaster: Why and What to Do Instead
    karl-voit.at/2025/08/17/Markdo

    Here's my article where I summarize the subtle and no so subtle downsides when you choose Markdown for your information instead of a different markup syntax that doesn't come with all the downsides of #MD.

    #publicvoit #orgdown #orgmode #LML #pandoc #rst #restructuredtext #asciidoc #Wikitext #BBCode #Creole #Crossmark #Djot #CommonMark #lockin

  30. #Markdown Is a Disaster: Why and What to Do Instead
    karl-voit.at/2025/08/17/Markdo

    Here's my article where I summarize the subtle and no so subtle downsides when you choose Markdown for your information instead of a different markup syntax that doesn't come with all the downsides of #MD.

    #publicvoit #orgdown #orgmode #LML #pandoc #rst #restructuredtext #asciidoc #Wikitext #BBCode #Creole #Crossmark #Djot #CommonMark #lockin

  31. #Markdown Is a Disaster: Why and What to Do Instead
    karl-voit.at/2025/08/17/Markdo

    Here's my article where I summarize the subtle and no so subtle downsides when you choose Markdown for your information instead of a different markup syntax that doesn't come with all the downsides of #MD.

    #publicvoit #orgdown #orgmode #LML #pandoc #rst #restructuredtext #asciidoc #Wikitext #BBCode #Creole #Crossmark #Djot #CommonMark #lockin

  32. Package Manager for Markdown

    I'm working on a project that is intended to encourage folk to make markdown text files which can be bundled together in different bundles of text files using a package manager.

    Question for coders; Which package manager would you suggest I use?

    Main criterias (in order) are:

    1. Easy for someone with basic command line skills to edit the file and update version numbers and add additional packages.

    2. All being equal, more commonly and easy to setup is preferred.

    #Markdown #CommonMark #PackageManager #Programming #Dev
    #NPM #RubyGems #Cargo #PickingAMastodonInstance
    #Ruby #Python #Rust #Javascript #NodeJs #Lisp #CommonGuide

  33. Package Manager for Markdown

    I'm working on a project that is intended to encourage folk to make markdown text files which can be bundled together in different bundles of text files using a package manager.

    Question for coders; Which package manager would you suggest I use?

    Main criterias (in order) are:

    1. Easy for someone with basic command line skills to edit the file and update version numbers and add additional packages.

    2. All being equal, more commonly and easy to setup is preferred.

    #Markdown #CommonMark #PackageManager #Programming #Dev
    #NPM #RubyGems #Cargo #PickingAMastodonInstance
    #Ruby #Python #Rust #Javascript #NodeJs #Lisp #CommonGuide

  34. Package Manager for Markdown

    I'm working on a project that is intended to encourage folk to make markdown text files which can be bundled together in different bundles of text files using a package manager.

    Question for coders; Which package manager would you suggest I use?

    Main criterias (in order) are:

    1. Easy for someone with basic command line skills to edit the file and update version numbers and add additional packages.

    2. All being equal, more commonly and easy to setup is preferred.

    #Markdown #CommonMark #PackageManager #Programming #Dev
    #NPM #RubyGems #Cargo #PickingAMastodonInstance
    #Ruby #Python #Rust #Javascript #NodeJs #Lisp #CommonGuide

  35. Questo sito contiene un utile guida con esercizi interattivi per imparare il #Markdown:

    commonmark.org/

    Rettifico come da commenti: in realtà è il sito ufficiale del #CommonMark, una sua possibile standardizzazione. Infatti ne esistono molte varianti.

    #CodiceSegreto #Informatica #Tecnologia

  36. Questo sito contiene un utile guida con esercizi interattivi per imparare il #Markdown:

    commonmark.org/

    Rettifico come da commenti: in realtà è il sito ufficiale del #CommonMark, una sua possibile standardizzazione. Infatti ne esistono molte varianti.

    #CodiceSegreto #Informatica #Tecnologia

  37. Questo sito contiene un utile guida con esercizi interattivi per imparare il #Markdown:

    commonmark.org/

    Rettifico come da commenti: in realtà è il sito ufficiale del #CommonMark, una sua possibile standardizzazione. Infatti ne esistono molte varianti.

    #CodiceSegreto #Informatica #Tecnologia

  38. Ja, das gefällt mir schon besser.
    #CommonMark / #ShowDown ist schlank, lässt sich gut in #Moodle verwenden und produziert einen style-baren HTML-Code.

    Was müsste man tun, damit das die hakelige Markdown-Implementierung offiziell ersetzen kann? Immerhin funktioniert ShowDown auch serverseitig. 🤔

    Was mir jetzt noch fehlt, ist ein "Präsentationsmodus" für das Textfeld. ...
    Vorerst wird das wohl nichts mehr, aber LisScript und Cryptpad können es ja immerhin auch, also sollte da doch irgendow ein Weg sein.

  39. Ja, das gefällt mir schon besser.
    #CommonMark / #ShowDown ist schlank, lässt sich gut in #Moodle verwenden und produziert einen style-baren HTML-Code.

    Was müsste man tun, damit das die hakelige Markdown-Implementierung offiziell ersetzen kann? Immerhin funktioniert ShowDown auch serverseitig. 🤔

    Was mir jetzt noch fehlt, ist ein "Präsentationsmodus" für das Textfeld. ...
    Vorerst wird das wohl nichts mehr, aber LisScript und Cryptpad können es ja immerhin auch, also sollte da doch irgendow ein Weg sein.

  40. Ja, das gefällt mir schon besser.
    #CommonMark / #ShowDown ist schlank, lässt sich gut in #Moodle verwenden und produziert einen style-baren HTML-Code.

    Was müsste man tun, damit das die hakelige Markdown-Implementierung offiziell ersetzen kann? Immerhin funktioniert ShowDown auch serverseitig. 🤔

    Was mir jetzt noch fehlt, ist ein "Präsentationsmodus" für das Textfeld. ...
    Vorerst wird das wohl nichts mehr, aber LisScript und Cryptpad können es ja immerhin auch, also sollte da doch irgendow ein Weg sein.

  41. #LiaScript möchte mit seinem zentralen Interpreter offenbar weg von #LMS wie #Moodle und sieht sich selbst als "Open-courSe" -System, das per iframe oder SCORM eingebunden werden kann.

    Die #Markdown - Quelldateien liegen dabei bei Github, Dropbox oder Nextcloud.

    Ein Moodle-LiaScript-Plugin dagegen gibt es nicht. 🤔 Schade.

    Dann bleibt also noch der handgemachte Weg über Javascript:

    - #CryptPad Presentation / Slides lassen sich themen, und dies basiert auf #CodeMirror, was noch nach Arbeit aussieht. codemirror.net/5/mode/markdown

    - #CommonMark ist standardisiertes Markdown, und mit #ShowDown immerhin einbettbar. demo.showdownjs.com/

  42. #LiaScript möchte mit seinem zentralen Interpreter offenbar weg von #LMS wie #Moodle und sieht sich selbst als "Open-courSe" -System, das per iframe oder SCORM eingebunden werden kann.

    Die #Markdown - Quelldateien liegen dabei bei Github, Dropbox oder Nextcloud.

    Ein Moodle-LiaScript-Plugin dagegen gibt es nicht. 🤔 Schade.

    Dann bleibt also noch der handgemachte Weg über Javascript:

    - #CryptPad Presentation / Slides lassen sich themen, und dies basiert auf #CodeMirror, was noch nach Arbeit aussieht. codemirror.net/5/mode/markdown

    - #CommonMark ist standardisiertes Markdown, und mit #ShowDown immerhin einbettbar. demo.showdownjs.com/

  43. #LiaScript möchte mit seinem zentralen Interpreter offenbar weg von #LMS wie #Moodle und sieht sich selbst als "Open-courSe" -System, das per iframe oder SCORM eingebunden werden kann.

    Die #Markdown - Quelldateien liegen dabei bei Github, Dropbox oder Nextcloud.

    Ein Moodle-LiaScript-Plugin dagegen gibt es nicht. 🤔 Schade.

    Dann bleibt also noch der handgemachte Weg über Javascript:

    - #CryptPad Presentation / Slides lassen sich themen, und dies basiert auf #CodeMirror, was noch nach Arbeit aussieht. codemirror.net/5/mode/markdown

    - #CommonMark ist standardisiertes Markdown, und mit #ShowDown immerhin einbettbar. demo.showdownjs.com/

  44. If you're thinking of using any other form of #markup than #Commonmark then please don't.
    commonmark.org/

  45. If you're thinking of using any other form of #markup than #Commonmark then please don't.
    commonmark.org/

  46. If you're thinking of using any other form of #markup than #Commonmark then please don't.
    commonmark.org/

  47. Why the FUCK does CommonMark munge consecutive line breaks?! I need that empty paragraph! This is a feature that's used regularly in writing!!!

    #markdown #CommonMark

  48. Thanks to everyone who recommended #CommonMark - it's really cool!

    If you're able to help me with this small config issue, I'd be eternally grateful.

    github.com/thephpleague/common

    #PHP