I suspect the problem is that the part before the colon is being treated as a metadata key. You should be able to avoid the problem by inserting a blank link before your troublesome header.
In fact, Multimarkdown (the dialect implemented by DT/TG) uses colons in the first line to identify metadata (see MultiMarkdown User’s Guide). Personally, I find this choice a bit unfortunate, but there you are.
Markdown is not really a standard, there are many flavours, and you have work with (or around) the one provided by your tool(s).
Hi @cgrunenberg, thank you and I do appreciate DEVONtechnology’s development team for fixing bugs so fast
Thank you for your replies, @Stephen_C and @chrillek! When I was editing this post, the forum did suggest this post to me as potentially relevant, which reminded me of the metadata syntax in MultiMarkdown that might be related to my issue. In my case though, the troublesome headers are rendered correctly in Preview mode and the issue only occurs in WYSIWYG edit mode, which made me believe it was a bug.
Possibly. I’m working with MD mostly in Hugo, and there they have metadata (“frontmatter” in their lingo) at the top of the file limited by --- on a single line, eg
---
title: "My lovely blog post"
date: 2021-11-11
---
I like that better because it is less error-prone than this “Hey, let’s just put a colon in the text when it’s on the first line” approach – this reminds me way too much of Fortran with its “Code must begin in column 7 and end not after column 72” rule.
Metadata is semantic information and it should be easily recognizable as such. But as I said, once you’ve decided (or made to) use MMD, you have to live with its benefits and disadvantages.