Hacker News new | ask | show | jobs
by josephg 3 days ago
But you can't abstract. I can't make a custom template for an image + caption, and use it throughout my markdown document.

You can do some pretty wild stuff with html. But if you do, you get an unreadable jumble of markdown and HTML. It loses the single advantage of markdown - which is that its human readable as a text file.

1 comments

HTML is human readable as a text file. It does lack abstraction though. I don't actually like markdown much but it is quicker for prose and when I want my images styled a certain way I drop to HTML
> HTML is human readable as a text file.

It's horrible to read compared to markdown and typst.

    <p>Some cool <em>sentence</em> in <b>html!</b></p>

    Some cool *sentence* in **markdown!**