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

Allow for non-spaced links in internally-defined Markdown-links #586

Open
jhlegarreta opened this issue Apr 22, 2021 · 0 comments
Open

Allow for non-spaced links in internally-defined Markdown-links #586

jhlegarreta opened this issue Apr 22, 2021 · 0 comments

Comments

@jhlegarreta
Copy link

According to
https://www.markdownguide.org/basic-syntax/#formatting-the-first-part-of-the-link

the whitespace between the first and second set of brackets for internally-defined is not a requirement.

The regex patterns to check for internally-defined Markdown links in here seem to require a whitespace.

The relevant warning raised in an incubator repository:
https://github.com/carpentries-incubator/SDC-BIDS-dMRI/runs/2401702149?check_suite_focus=true#step:16:29

is no longer raised if a whitespace is introduced. However, if Markdown accepts both syntaxes, would it be possible to update the lesson-check.py script to account for them?

If "proper" Markdown does require a whitespace, please let me know and I will close the issue and add a whitespace in the mentionned repository.

Thanks.

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

1 participant