You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of the markdownlint functionality is hampered because of Liquid tags
MD037 (Spaces inside emphasis markers) is disabled because of it
Our usage of underscores in path names for {% link %}s makes this rule parse incorrectly
MD044 (Names should have correct capitalization)
Same issue as with MD037, it recognizes Liquid tags as explicit text.
Reference links that are pointing to Liquid tags are not checked for link validity
E.g. [My link] with [Mylink]: {% link _sections.Tablets.md %}
While some of these issues are less of an issue with our HTML linting in place, there are other issues that cannot easily be worked around.
The best solution is as the title proposes, to extract the Markdown documents after the Liquid tags have been parsed so that markdownlint can correctly parse the documents as it expects. This is likely achieved by outputting the formatted documents as part of the Jekyll build process.
The text was updated successfully, but these errors were encountered:
gonX
added
bug
Something isn't working
ci
Affects CI (Actions, bots, repo events, etc.)
meta
Dotfiles, Scripts, Github files, Repository management
labels
Dec 7, 2023
A lot of the markdownlint functionality is hampered because of Liquid tags
{% link %}
s makes this rule parse incorrectly[My link]
with[Mylink]: {% link _sections.Tablets.md %}
While some of these issues are less of an issue with our HTML linting in place, there are other issues that cannot easily be worked around.
The best solution is as the title proposes, to extract the Markdown documents after the Liquid tags have been parsed so that
markdownlint
can correctly parse the documents as it expects. This is likely achieved by outputting the formatted documents as part of the Jekyll build process.The text was updated successfully, but these errors were encountered: