23. May 2026 • 1 min. read

Test Template

access-pointsarubanpswindows-server

Goldmark Extensions

Tables (GFM-style)

Column A Column B Column C
cell cell cell
cell cell cell

Strikethrough

deleted text

Footnotes

Some text with a footnote.1

Definition List

Term 1
Definition for term 1.
Term 2
Definition for term 2.

Typographer (smart punctuation)

  • “double quotes” → “double quotes”
  • ‘single quotes’ → ‘single quotes’
  • – → en-dash
  • — → em-dash
  • … → ellipsis

Auto-linkify

https://example.com gets converted to a clickable link automatically.


Raw HTML (requires markup.goldmark.renderer.unsafe = true)

Raw HTML block passed through to output.

Inline HTML also works.


Render Hooks

Override default rendering by placing templates in layouts/_default/_markup/:

  • render-link.html — custom link rendering
  • render-image.html — custom image rendering
  • render-heading.html — custom heading rendering
  • render-codeblock.html — custom code block rendering

Example use: adding target="_blank" to external links, or wrapping images in a lightbox.


Standard Markdown (CommonMark)

Headings

H1

H2

H3

H4

Emphasis

bold italic bold italic

Code

Inline code and fenced blocks:

echo "Hello World"

Blockquote

Quoted text here.

Continues on next line.

Lists

  • unordered item
  • unordered item
    • nested item
  1. ordered item
  2. ordered item
    1. nested ordered

Link text Link with title

Alt text Alt text

Horizontal Rule


Task List (GFM)

  • completed task
  • incomplete task

  1. This is the footnote content. ↩︎

Comments

Search