by csande17 · 4y ago · 0 comments
The one time static stie generators are helpful is if you really, really like the out-of-the-box look and behavior of some existing theme.
I think it's tempting to add a bunch of "time saving" features for writing, but lots of time just going with the HTML is fine. Maybe if you're writing out a post every couple of days then you can focus on time saves. Until then MD will get you most of the way, and otherwise you can always hack in some special case for your unique post
<aside>
Markdown syntax is *not* interpreted here, and this is a text node inside an aside.
</aside>
—⁂— <aside>
<p>Markdown syntax is *not* interpreted here, and this is a text node inside a p inside an aside.</p>
</aside>
—⁂— <aside>
Markdown syntax *is* interpreted here, and `aside > p > em` should match.
</aside>
—⁂— <aside>
<p>Markdown syntax is *not* interpreted here, and this is a text node inside a p inside an aside.</p>
</aside>
—⁂— <aside>
<p>This line is a code block (pre) inside an aside.</p>
</aside>
—⁂—And all that is without taking into account variations in Markdown flavours, and what may happen with unprincipled and inconsistent extension of Markdown. All up, I say if you want sanity that will last, go HTML and avoid Markdown strenuously for anything beyond simple prose.
Seriously though, I think that what you're describing is a real failing of Markdown. I wanted at one point to use Restructured Text but really you want Sphinx and Sphinx is not meant to be used as a library unfortunately.
I have a well-established track record of disliking Markdown because of how grossly technically unsound it is. I’m steadily designing a more principled replacement for at least my own use, drawing most significantly from reStructuredText, AsciiDoc and Markdown.