A comprehensive reference for every Markdown element supported by Hexo’s renderer. Use this post to verify that all markdown constructs render correctly in Vaultex.
Tables
Tables align left by default. Alignment hints (:---, :---:, ---:) control column alignment.
| Name | Type | Default | Description |
|---|---|---|---|
vault_name |
string | — | Displayed in the vault switcher |
font_size |
number | 16 |
Base body font size in px |
posts_per_row |
number | 1 |
1 = list, 2 = card grid |
show_excerpt |
boolean | true |
Show excerpt on index |
toc_depth |
number | 3 |
Max TOC heading depth |
Wide Table
| Language | Paradigm | Typing | First Appeared | Notable For |
|---|---|---|---|---|
| JavaScript | Multi-paradigm | Dynamic | 1995 | The web’s lingua franca |
| Python | Multi-paradigm | Dynamic | 1991 | Readability, data science |
| Rust | Systems | Static | 2010 | Memory safety without GC |
| Go | Concurrent | Static | 2009 | Simplicity, fast compilation |
| Haskell | Functional | Static | 1990 | Pure FP, lazy evaluation |
Images
Images are centered by default and respect the content max-width.
You can also add a title for tooltip text:
Code
Inline Code
Use backticks for inline code. It renders in Source Code Pro at a slightly reduced size with a subtle background pill.
Reference a file: themes/vaultex/_config.yml. Call a function: hexo.generate(). Use a CLI command: npx hexo server --port 5000.
Fenced Code Blocks
Code blocks support language labels and line numbers:
1 | |
Blockquotes
Single-level blockquote. Great for callouts, quotes from external sources, or highlighting key ideas.
Note: You can use bold, italic, and
inline codeinside blockquotes.Multiple paragraphs work too — just separate them with a blank line and continue with
>.
First level
Second level — nested quote inside the outer quote.
Third level — deeply nested.
Definition Lists
Some Markdown renderers support definition lists:
- Term
- The word or phrase being defined.
- Vaultex
- A dark Hexo theme inspired by the Obsidian.md UI/UX.
- Hexo
- A fast, simple, and powerful blog framework powered by Node.js.
Footnotes
Footnotes[^1] are rendered inline in some renderers. They link to a reference list at the bottom of the post[^2].
[^1]: This is the first footnote.
[^2]: This is the second footnote, which can contain code and formatting.
Horizontal Rules
Three dashes, asterisks, or underscores produce a <hr>:
Escape Characters
To render literal Markdown characters, escape them with a backslash:
*Not italic* `Not code` [Not a link]
HTML in Markdown
Raw HTML is supported in Hexo’s markdown renderer:
Click to expand
Hidden content revealed on click. This uses native HTML <details> and <summary> elements.
hexo generate && hexo server
Ctrl + Shift + P — the command palette shortcut in VS Code.
Linking
Standard Links
Hexo documentation — external link.
Welcome to Vaultex — internal link to another post.
Reference Links
Hexo is a static site generator. Vaultex is a theme for it.
Auto Links
URLs are automatically linked: https://hexo.io
Email addresses: hello@example.com