Treat all headings as {raw} for deep linking

Been messing with Zola for the past few days after getting the itch to try HTML and CSS. I’ve gotten along well enough with Tera’s templates.

One thing I want to keep separate however is programming logic and writing. I’m fine doing templating on - well - my templates, but I want to keep my content to as pure Markdown as possible, using components only where necessary. One issue I ran into while testing, when using components and wanting to use the syntax for deep linking, Tera thinks it’s template code and starts erroring out. I could wrap it in a {% raw %} Tera block or escape the starting {% that causes the error to occur, but I’d prefer it if this was done automatically since it’s not ergonomic for a purely writing scenario.

Are you talking about something like:

## Some header {#some-header}

?

Yeah, the identifier for deep-linking. That errored out on me while using components.

That’s fixed in the next branch already in theory, there should be a new release soon