iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
91 stars 49 forks source link

Link parsing fails for document references #96

Closed mschmieder closed 1 year ago

mschmieder commented 1 year ago

Hi,

I just noticed that it's not possible to use md2cf anymore with document references like table of contents, since the relative path detector detects the paths that start with #

[Frequently Asked Questions](#frequently-asked-questions-osep)

Having something like this in the document results in

Page test.md has a relative link to , which is not in the list of pages to be uploaded.  
iamjackg commented 1 year ago

Thanks for reporting this -- I'll take a look!