-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Labels
Description
Description
First of all, thanks for this amazing project!
I use ':include' to include badges onto READMEs and I've observed that if I use
[](_badges/_foo.md ':include')
[](_badges/_bar.md ':include')the contents of _badges/_bar.md (the second include) are not displayed and also not part of the HTML document.
Adding a newline in between the two includes fixes the issue, but adds a linebreak in the rendered document:
[](_badges/_foo.md ':include')
[](_badges/_bar.md ':include')Replacing the ':include's with the actual contents, e.g.
[](/index.md)
[](/other_page.md)displays both badges next to each other without a linebreak (desired behavior).
Expected behavior
The output should be the same when using ':include'.
Actual behavior
The second ':include' is discarded unless an explicit linebreak is added.
Steps to reproduce
- Create two markdown files for the badges (one each)
- Create another markdown file that
':include's them without a newline in between - Second badge is missing
Environment
Docsify version: 5.0.0-rc
Additional Information
- Bug still occurs when all/other plugins are disabled?