Math, code and comments
Math, code blocks with colors and notes only you can see.
Math
Between $ inline, like , or between $$ as a block:
Math becomes MathML: the browser draws it, with nothing to download.
Code
Three backticks, the language name and the code:
function hello(name) {
return `Hello, ${name}!`;
}
The colors follow the language: go, js, py, sh, yaml, html, css and many more.
Comments
Text between %% and %% is an Obsidian comment: you see it while editing and it doesn’t go to the site.
Use it for reminders, drafts and instructions for whoever edits, like in the _index note of the site folder.