Skip to content

Apply Hugo Goldmark Extras when rendering TOC #12605

@jmooring

Description

@jmooring

Low priority.

Site configuration

[markup.goldmark.extensions]
strikethrough = false

[markup.goldmark.extensions.extras.delete]
enable = true

[markup.goldmark.extensions.extras.insert]
enable = true

[markup.goldmark.extensions.extras.mark]
enable = true

[markup.goldmark.extensions.extras.subscript]
enable = true

[markup.goldmark.extensions.extras.superscript]
enable = true

Markdown

## Hydrogen (H) is the 1^st^ element in the periodic table

## Water (H~2~O) is a liquid

## Water (H~2~O) is a ~~liquid~~ ++compound++

## Water (H~2~O) is an ==organic compound==

Actual TOC

image

Desired TOC

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions