Open merunga opened 3 years ago
@merunga, thanks for raising this issue :star:
Just to make sure I understand correctly, the use case would be having something like this in a markdown file, right?
{% video https://www.youtube.com/watch?v=oHg5SJYRHA0 %}
If that is the case, you could use a comment to turn off a given rule for a given line. Something like this.
<!-- markdownlint-disable-next-line no-bare-urls -->
{% video https://www.youtube.com/watch?v=oHg5SJYRHA0 %}
mdlint
uses markdownlint to do the actual linting, so you should be able to use configuration as documented here.
I hope this helps.
If we embed a video using the cs50 lab special syntax, it's still flagged as bare URL