Jacob's blog

On database building blocks.

Test Page: All Markdown Patterns

This page is a test bed for all the markdown and HTML elements used in this blog. Use it to test CSS changes.

Headings

This is a Heading 2 (the post title is H1).

Heading 3

This is a Heading 3. It's used for sub-sections.

Heading 4

This is a Heading 4.

Heading 5

This is a Heading 5.

Heading 6

This is a Heading 6.

Paragraphs and Text Formatting

This is a standard paragraph of text. It contains bold text, italic text using underscores, and italic text using asterisks. You can also have inline code which is useful for mentioning variables or filenames.

Another paragraph follows, demonstrating the flow of text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Here is an inline link to Google. Here is a reference-style link to the Eleventy docs.

Blockquotes

This is a blockquote. It's useful for highlighting a quote or an important note from another source. It can span multiple lines.

An efficient implementation will avoid allocation for a new node, and reuse the memory of the sibling node.

Lists

Unordered List

Ordered List

  1. First item
  2. Second item
    1. Nested item 2.1
    2. Nested item 2.2
  3. Third item

Images

This is an SVG image using the new figure shortcode:

An SVG image
Fig 1. An SVG image that should scale correctly.

This is a PNG image using our new figure shortcode:

A flamegraph grid
Fig 2. A PNG image that may need styling to prevent overflow on mobile.

Code Blocks

Here is a text code block:

Some plain text inside a code block.
No syntax highlighting is applied here.
+-----------------------------+----------------------------------------+
| NAME | COMMENT |
+-----------------------------+----------------------------------------+
A caption for a text code block.

A rust code block with syntax highlighting:

fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
println!("Hello, World!");
}

Tables

Markdown Table

Header 1 Header 2 Header 3
Cell 1-1 Cell 1-2 Cell 1-3
Cell 2-1 Cell 2-2 Cell 2-3

HTML Table

HTML Header 1 HTML Header 2
HTML Cell 1-1 HTML Cell 1-2
HTML Cell 2-1 HTML Cell 2-2