I’ve noticed that if I include
code blocks in my headings, the contents won’t be in a codeblock in the table of contents. That’s not the behavior I want. I’m not sure how it should be changed, though.
Firstly, should the
title property become the marked up one, with the functionality without tags being moved to
title | striptags, or should a new property be introduced?
Secondly, there’s the question of whether said property should include HTML or Markdown.
I briefly looked around and found the relevant code, but I’m pretty sure implementing a variant of
get_text that handles inline code blocks is a bad idea.