Skip to content

PluginTOC renders permalink symbol from markdown-it #33

Description

@davidjost

Environment

Node version: v17.0.1
OS/version: Mac OS 11.6 Big Sur

Eleventy

Eleventy version: 0.12.1
Template engine: Nunjucks

Plugin

Plugin module version: 1.1.0


Description of the issue

PluginTOC renders everything inside the h(n) tag. Markdown-it generates permalinks by placing an a tag inside the h(n) tag.

Desired output

PluginTOC renders the text content of the h(n) tag and ignores any other markup inside it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions