π§° Formatting & Snippets¶
The productivity layer: a button bar for every structure, ready-made snippet blocks, a table-of-contents builder, markdown auto-complete, and editor zoom. Everything here is part of TickMark Pro β¨ β the base app renders documents read-only.
A formatting toolbar sits above the editor β Bold, Italic, Strikethrough, Code, H1βH3, Link, Image, Table, Quote, Code block, Lists, Horizontal rule, Table of Contents, and the snippet menu, all one click away. It scrolls sideways when the editor pane is narrow.
π Table of Contents¶
- ποΈ Formatting toolbar
- π§© Snippets
- π‘ Markdown auto-complete
- π Table of contents
- π Editor zoom
ποΈ Formatting toolbar¶
The buttons post the same commands as the Format menu, so the shortcuts keep working everywhere.
π§© Snippets¶
Format βΈ Insert Snippet drops in ready-made structures:
| Snippet | What you get |
|---|---|
| YAML Front Matter | title/date/tags block with today's date |
| Code Fence | empty triple-backtick block |
| Table | two-column starter table |
| Mermaid Diagram | graph LR starter |
| Details / Disclosure | collapsible <details> block |
| Callout | > **Note** block |
| Task List | checked + unchecked items |
Placeholders: $SELECTION becomes the selected text, and the caret lands at
$END after insertion.
For quick access, open the snippet picker β Format βΈ Snippet Pickerβ¦ or the toolbar's snippet menu β a searchable palette anchored at the caret: type to filter, move with β/β or the mouse, and press Return (or click) to insert. Esc dismisses it.
π Raw HTML in the preview¶
HTML written directly in your document β <details>, <span> styling,
inline <img> tags β renders in the live preview. For safety it passes
through an allowlist sanitizer first: event handler attributes
(onerror=β¦), javascript: links, and active elements (<script>,
<iframe>, forms, inline SVG) are stripped and never execute. PDF export
matches the sanitized preview; the static HTML export shows raw markup as
escaped text instead of rendering it.
π‘ Markdown auto-complete¶
Start a line with a markdown token β #, -, >, `, [, |, $$β¦ β and a suggestion panel pops up next to the caret. Each entry shows its name plus a detail pane: what it is, when to use it, and a copyable example. As you move through the list (arrow keys or clicks) the proposed syntax appears live in the editor as selected text β what you see is what gets inserted.
- β / β or click β choose a suggestion
- Double-click a row β insert it immediately
- Return / Tab β insert it (caret lands where you start typing)
- Esc β put the line back the way it was
- β₯β β open the full catalog anywhere, any time
The panel anchors to the caret β below the line you're typing, flipping above it near the window's bottom edge.
Suggestions pause inside fenced code blocks and can be turned off in Settings βΈ Editor.
π Table of contents¶
Format βΈ Insert Table of Contents (or the toolbar button) builds a
linked TOC from your headings and drops it at the caret, wrapped in
<!-- TOC --> / <!-- /TOC --> markers. Run it again and the block
between the markers is updated in place β never duplicated. The
links use GitHub-style anchors, so they jump in the live preview and
resolve on GitHub too.
TOCs authored for other tools jump as well: Obsidian wiki-links
([[#Heading]], [[#Heading|alias]]) render as clickable links in the
preview, and raw-heading text anchors ([Title](#My Heading)) resolve
to the matching heading. Cross-file [[note]] links stay plain text.
π Editor zoom¶
- β+ / β- β step the editor font up/down (10β24 pt)
- β0 β back to the standard size
While zoomed, the status bar shows a percentage (e.g. 108%) β click
it to reset. This is the same setting as the font-size slider in
Settings βΈ Editor.