Markdown is holding you back

2025-11-2220:039065newsletter.bphogan.com

Explore why Markdown, despite its ubiquity, might not be the best fit for technical content.


Read the original article

Comments

  • By procaryote 2025-11-237:52

    I use markdown because it's easy to read without rendering. All of the alternatives in the article seem worse

    If I wanted more structure, I'd just write html; or mix html into the markdown.

    Pandoc lets me do things like generate libreoffice or microsoft word documents from the markdown, using a reference document for styling of headings etc. This also gives me good enough control to generate OK looking pdfs. It's not LaTeX levels of control, but it's much easier

    I don't want to do extra work to hypothetically make things easier for an LLM.

  • By dschuessler 2025-11-2222:203 reply

    You can include arbitrary HTML tags in Markdown at any place you need them.[0] I am not aware of any Markdown tooling that does not support this.

    So, no, Markdown is not holding me back. It is perfectly capable of what the author claims it isn't.

    [0]: https://daringfireball.net/projects/markdown/syntax#html

    • By throwaway150 2025-11-230:001 reply

      > You can include arbitrary HTML tags in Markdown at any place you need them.

      That is well known and I am sure the author is aware of it. The problem they are describing is not whether HTML is technically allowed inside Markdown. It's that when you are writing Markdown, you are writing Markdown, not HTML, and that comes with some problems.

      > It is perfectly capable of what the author claims it isn't.

      In theory, yes. In practice, using Markdown becomes much less appealing once you start dropping raw HTML all over the place. The whole point of choosing Markdown is that you do not want to spend your time typing <p>, <a>, <li> and the rest. You want to write in Markdown, with only occasional HTML when absolutely necessary.

      That is exactly where the author's complaints become relevant. If the solution to Markdown's limitations is routinely switching to HTML, then the argument becomes circular. If you are expected to write HTML to address the author's complaints, why bother with Markdown at all? If the answer is just "write HTML", then you may as well skip Markdown in the first place.

      • By vorpalhex 2025-11-232:241 reply

        Most markdown engines allow short tags to stand in for html, so for frequent features you can just use a short tag.

        Alternatively you can extend markdown. I wrote a simple text based game engine that was markdown based but I needed some arbitrary additions appropriate for a game.. so I just added a few elements.

        • By hysan 2025-11-235:14

          The author addresses this too. Once you start down this path, you go down the road of non-standardization which means losing portability, etc. I don’t see how this is a point against the author?

    • By henrebotha 2025-11-2222:532 reply

      There are real limitations to this: You can't arbitrarily mix and match HTML and Markdown. As soon as you introduce an HTML block, you're locked out of Markdown syntax.

      AsciiDoc lets you mix and match however you want. Or, put differently: AsciiDoc's superiority over Markdown extends even to being better at shelling out to HTML.

      • By vidarh 2025-11-2223:01

        While that's true, I'd take Markdown + extensions to allow inline HTML or custom tags over AsciiDoc any day, even at the cost of losing some compatibility - converting that to plain Markdown is usually easy enough.

      • By tefkah 2025-11-2222:56

        mdx does tho. you could just not define any components, then you can nest markdown inside html no problem

    • By hizanberg 2025-11-237:28

      I also put interactive components in my markdown docs, I’m only using Markdown for content now.

  • By jimmar 2025-11-2222:091 reply

    Markdown is the minimum viable product. It’s easy to learn and still readable if not rendered in an alternate format. It’s great.

    For making PDFs, I’ve recently moved from AsciiDoc to Typst. I couldn’t find a good way to get AsciiDoc to make accessible PDFs, and I found myself struggling to control the output. Typst solves all of AsciiDoc’s problems for me.

    But in the end, no markup language will make you write better. It’s kind of like saying that ballpoint pens are limiting your writing, so you should switch to mechanical pencils.

    • By undeveloper 2025-11-2222:252 reply

      typst looks interesting -- but how are you writing it? from what I looked at, it looks like theres an official web editor and a vscode plugin with limited support. this feels pretty limited, as someone who came in expecting something like obsidian.

      • By TRiG_Ireland 2025-11-2222:411 reply

        I'm not aware of any limitations in the Tinymist plugin.

        And you can just write it in the plain text editor of your choice, and keep an eye on the PDF with typst watch.

        • By addaon 2025-11-230:48

          > I'm not aware of any limitations in the Tinymist plugin.

          I looked into this a while ago, and couldn't find a workflow I could live with. Have things improved? What's the workflow like for working on an image in, say, OmniGraffle to include in the document? Does text search in embedded PDFs work these days? LinkBack so I can edit the images easily inline?

      • By MillironX 2025-11-2223:22

        I've started experimenting with Typst for a few documents, and here's my stack:

        - Zed editor with Typst plugin

        - Tinymist LSP settings turned on to render on save in Zed, see https://code.millironx.com/millironx/nix-dotfiles/src/commit...

        - Okular open to the output document. Okular refreshes the document when changed on disk.

        It's not as polished as say, LaTeX Workshop in VSCode, but it gets the job done.

HackerNews