Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept video links embed with cs50 lab syntax #14

Open
merunga opened this issue Jun 14, 2021 · 1 comment
Open

Accept video links embed with cs50 lab syntax #14

merunga opened this issue Jun 14, 2021 · 1 comment

Comments

@merunga
Copy link

merunga commented Jun 14, 2021

If we embed a video using the cs50 lab special syntax, it's still flagged as bare URL

@lupomontero
Copy link
Member

@merunga, thanks for raising this issue ⭐

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants