# HTML in Markdown to PDF

Standard Markdown allows raw HTML. PrintifyMarkdown styles common tags for paper.

<details>
<summary>Expand for accordion details</summary>
<p>Accordions are forced open in the PDF so hidden content still prints.</p>
</details>

Keyboard hint: press <kbd>Ctrl</kbd> + <kbd>P</kbd> only after you compile—browser print skips Mermaid waits.

Chemistry and math in HTML: H<sub>2</sub>O and x<sup>2</sup> with <mark>highlighted</mark> terms,
plus <ins>insertions</ins> and <del>deletions</del>.

<figure>
<img src="https://placehold.co/420x120/png" alt="Placeholder figure">
<figcaption>Figures keep captions under the image in the PDF.</figcaption>
</figure>

<audio controls src="https://www.w3schools.com/html/horse.mp3"></audio>

<iframe title="Example embed" src="https://example.com" width="560" height="180"></iframe>
