-
DescriptionI'm exploring the creation of a extension that provides a custom HTML site. One thing that I noticed is that if I have my custom <!DOCTYPE html>
<html>
<body>
<main>
<section>
<div>
<h1>$title$</h1>
$body$
</div>
</section>
</main>
</body>
</html> the render HTML file will include <main><header id="title-block-header" class="quarto-title-block"><h1 class="title">Untitled</h1></header>
<section>
<div>
<h2 id="introduction">Introduction</h2>
</div>
</section>
</main> instead of
I imagine the wrap of A minimal working example is available as a Git repository at https://github.com/rgaiacs/quarto-h1-bug-demo (branch |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can't. This part is generated as part of the website envelope and that is not very customisable because some parts are injected via TypeScript and Lua filters. |
Beta Was this translation helpful? Give feedback.
You can't. This part is generated as part of the website envelope and that is not very customisable because some parts are injected via TypeScript and Lua filters.