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

Supports URL replacements like in markdown-link-check #17

Open
boillodmanuel opened this issue May 27, 2020 · 2 comments
Open

Supports URL replacements like in markdown-link-check #17

boillodmanuel opened this issue May 27, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@boillodmanuel
Copy link

From the markdown-link-check readme:

This behavior allows (for example) to adapt to certain platform conventions hosting the Markdown

In my example, it's for the gitlab wiki

@smallhadroncollider
Copy link
Owner

Yes, I can see that would be useful. Haven't used any of the Haskell RegEx packages yet, so will need to look into that side of things.

@smallhadroncollider smallhadroncollider added the enhancement New feature or request label Jun 2, 2020
@boillodmanuel
Copy link
Author

Here is an example:

  • With a relative URL without extension (./info), gitlab serves the (./info.md) page.
  • With a relative URL with extension (./info.md), gitlab serves the (./info.md) raw file.

Link to the gitlab doc that describes this behaviour: https://docs.gitlab.com/ee/user/markdown.html#wiki-specific-markdown

I also used the ignorePatterns capability of markdown-link-check.

@smallhadroncollider smallhadroncollider self-assigned this Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants