Fuck Markdown (2025)
fuck markdown
fuck markdown. fuck John Gruber, refusing to standardize the syntax.
Markdown problem, should there be an blank line before list
problem example:
the python code called is this:
in CommonMark, must there is be a newline before list or ordered list:
2026-04-18 addendum:
- grok is wrong. commonMark spec says list needs not to have a empty line above.
- so, the python markdown to html is incorrect.
- and xah's xah-html-markdown-to-html is correct, as of today.
Nested list, 2 space or 4 space indent
Python markdown to html, code block bug
Fucking idiotic python markdown to html. Does not convert code block. Jisus, what kinda idiot possibly write this? am i delusional or am i correct the industrial coders are fucking idiots?
```css /* Traditional flat CSS */ .card { background: #f8f9fa; padding: 1rem; border-radius: 8px; } .card h2 { color: #333; margin-bottom: 0.5rem; } ```
import markdown import sys print(markdown.markdown(sys.stdin.read()))
why
solution
pip install cmarkgfm
import cmarkgfm import sys print(cmarkgfm.github_flavored_markdown_to_html(sys.stdin.read())) # print(cmarkgfm.markdown_to_html(sys.stdin.read()))
using lang attribute for computer language in pre tag
now, if u use python cmarkgfm package, it creates code like
<pre lang="css">
but that's incorrect use of lang.
fuck these industrial coding mathafaakers
github flavored markdown converter idiocy.
it converts QUOTATION MARK (codepoint 34) to html entity.
markdown
- Markdown Tutorial
- Emacs: Emacs Markdown to HTML 📜
- Fuck Markdown (2025)
- Xah Talk Show 2025-10-22 Ep705 Emacs Lisp, HTML to Markdown, and Inverse
- Xah Talk Show 2025-11-21 Ep715 JavaScript markdown to HTML code, algo of text processing.
- Xah Talk Show 2025-11-23 Ep716 Emacs Lisp Call Python Markdown to HTML