Skip to content

better pandoc support #8152

Closed
Closed
@jirib

Description

@jirib

Hi,

it would be nice to have better pandoc integration as I feel commonmark has limitations and pandoc markdown can do much more things. Examples:

  • ability to have TOC made by pandoc, just like asciidoctor support (enableTOC: false - to pass --toc to pandoc, preserveTOC = false - to override pandoc TOC html code <nav id="TOC" role="doc-toc">with hugo .TableOfContent variable; it would be probably nice also to be able to define css selector to find pandoc TOC as one could change pandoc template.
  • extra args, eg. to define --template <file> or --data-dir <dir> ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions