This is somehow related to #44, but in my particular use case, I would like to link to an anchor in the same document manually. Since the anchor is in the same document, it starts with # right away without /.
The context is to generate a markdown page then later append a custom block of text into the same file, such that they appear as one whole article in a wiki.
For example, if my module is mymodule and I have more text to dump at the end, I would do
Environment
Describe the bug
This is somehow related to #44, but in my particular use case, I would like to link to an anchor in the same document manually. Since the anchor is in the same document, it starts with
#
right away without/
.The context is to generate a markdown page then later append a custom block of text into the same file, such that they appear as one whole article in a wiki.
For example, if my module is
mymodule
and I have more text to dump at the end, I would doIn
mymodule.py
, there isand in
more-text.md
, there isHowever, it generates below in the
wikipage.md
Expected behavior
The anchor should be correctly parsed such that
[flowchart](#flowchart-of-foo)
stays the same in the rendered markdown document