Markdown¶
Cheatsheet¶
... because I forget how to do shit.
Images:
Links to Pages:
Example where the target page is in another folder:
Shortcut link example:
...and at the bottom:
Clickable Image Links¶
Pure Markdown¶
... and attr_list (you already have it enabled)
Makes the image a link to itself and opens in a new tab:
- Replace
../images/pic.jpgwith your path. target="_blank"opens a new tab;rel="noopener"is a good security add-on.- Works for “thumbnail → full-size” too:
Raw HTML¶
<a href="../images/pic.jpg" target="_blank" rel="noopener">
<img src="../images/pic.jpg" alt="Alt text" width="320" loading="lazy">
</a>
Built-in zoom¶
(no new tab)
If you just want a zoom overlay instead of a new tab, Material supports:
Shout if you want me to sanity-check the relative path from a specific page.