Skip to content

Should sourceCode class be removed using -t gfm-raw_html? #10926

@badlydrawnrob

Description

@badlydrawnrob

Explain the problem.

Previously I used code.html -o code.md to convert compiled code blocks back into Markdown. This output quite a bit of unwanted code (classnames and such). Using code.html -t gfm-raw_html -o code.md is a lot better, but still leaves in the ``` sourceCode class. Is this by design or should it be removed?

Pandoc version?
Latest version 3.7.0.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions