Demonstration

This article showcases the features supported by the blog engine, including formatting, code, math, and anchor links.

Headings and Paragraphs

Organize content using headings and paragraphs. Markdown supports:

Blockquotes can be used for citations or remarks, clearly separated from main content.

Anchors and Linking

You can create internal anchor links using {#id} syntax in headings.

Lists

Lists are useful for outlining steps or concepts. Both unordered and ordered lists are supported.

Unordered

Ordered

  1. Write Markdown content
  2. Embed metadata at the top
  3. Use the renderer to generate static HTML

Mathematical Expressions

Mathematics can be rendered using LaTeX syntax.

Inline Math

Euler's identity, written inline with $e^{i\pi} + 1 = 0$, renders as: eiπ+1=0

Display Math

Use fenced code blocks with latex for display equations:

$$
\int_0^\infty e^{-x^2} \, dx = \frac{\sqrt{\pi}}{2}
$$

Which renders as:

0ex2dx=π2

Code Blocks

Code blocks are highlighted using syntax-aware rendering. Specify the language for proper highlighting.

Rust Example

fn main() {
    println!("Hello, blog!");
}

Python Example

def greet():
    print("Hello, blog!")

Links and Images

Links

Link to another article

Written as [Link to another article](../03_render/render.html).

Image

Written as ![dog](./dog.jpg).