Skip to content

DocBook > MD conversion fails for internal links and anchors #1818

@michellemurray

Description

@michellemurray

Input DocBook:

<simpara><link linkend="abc">Do ABC</link></simpara>
...
<section id="abc">
<title>1. Do ABC</title>

Output Markdown:

[Do ABC](#abc)

...
## 1. Do ABC

Expected/Desired Output:

[Do ABC](#abc)

...
## 1. Do ABC ## {#abc}

Conversion Command Used:
pandoc abc.xml -f docbook -t markdown --no-wrap --atx-headers --base-header-level=2 -o abc.md

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