rakutentech / docpub

DocPub is a command line utility for converting a folder structure of markdown files to HTML and uploading the result to Zendesk.
MIT License
12 stars 16 forks source link

Enable pointing to another article by pointing to it's .md file #10

Open SwinX opened 7 years ago

SwinX commented 7 years ago

Now link to other article will only work if it will point to article folder, not .md file. Reason for this is because article is being considered as composite entity, including metadata, markdown and resources. Need to make explicit check in article is the current path chunk is last one and is it equal markdown file name.