[GH-ISSUE #619] MD052 triggering in code span inside link #482

Closed
opened 2026-03-03 01:27:18 +03:00 by kerem · 8 comments
Owner
Originally created by @nschonni on GitHub (Oct 24, 2022). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/619 This example shows it being flagged in a link, but not the same code span on its own https://dlaa.me/markdownlint/#%25m%5B%60WebGLRenderingContext.uniform%5B1234%5D%5Buif%5D%5Bv%5D()%60%5D(%2Fen-US%2Fdocs%2FWeb%2FAPI%2FWebGL2RenderingContext%2Funiform)%0A%0A%60WebGLRenderingContext.uniform%5B1234%5D%5Buif%5D%5Bv%5D()%60
kerem 2026-03-03 01:27:18 +03:00
Author
Owner

@DavidAnson commented on GitHub (Oct 24, 2022):

This may already be fixed by: github.com/DavidAnson/markdownlint@c333976a44

<!-- gh-comment-id:1289663985 --> @DavidAnson commented on GitHub (Oct 24, 2022): This may already be fixed by: https://github.com/DavidAnson/markdownlint/commit/c333976a4416e1a80f767bf82d117bb82e2f8b47
Author
Owner

@nschonni commented on GitHub (Oct 24, 2022):

OK, I couldn't remember if there the demo site used the latest next code or not, so I opened it when I saw it there still. That might be an interesting troubleshooting step, if there was a demo copy that used the next code to see if there are fixed things when reporting

<!-- gh-comment-id:1289715945 --> @nschonni commented on GitHub (Oct 24, 2022): OK, I couldn't remember if there the demo site used the latest `next` code or not, so I opened it when I saw it there still. That might be an interesting troubleshooting step, if there was a demo copy that used the `next` code to see if there are fixed things when reporting
Author
Owner

@DavidAnson commented on GitHub (Oct 25, 2022):

The demo site does not give you a way to try older or newer versions yet. I thought about this and know how I might do it, but it hasn't bubbled to the top yet.

<!-- gh-comment-id:1289897688 --> @DavidAnson commented on GitHub (Oct 25, 2022): The demo site does not give you a way to try older or newer versions yet. I thought about this and know how I might do it, but it hasn't bubbled to the top yet.
Author
Owner

@nschonni commented on GitHub (Oct 25, 2022):

I'm guessing you already have a custom site setup that has the current demo site, so you could setup https://davidanson.github.com/markdownlint to point to the demo folder in next

<!-- gh-comment-id:1289957694 --> @nschonni commented on GitHub (Oct 25, 2022): I'm guessing you already have a custom site setup that has the current demo site, so you could setup https://davidanson.github.com/markdownlint to point to the `demo` folder in `next`
Author
Owner

@DavidAnson commented on GitHub (Oct 25, 2022):

I think GitHub raw sets content type to text so people can’t host directly out of the repo. It’s been a while, that may not be true now.

<!-- gh-comment-id:1289985881 --> @DavidAnson commented on GitHub (Oct 25, 2022): I think GitHub raw sets content type to text so people can’t host directly out of the repo. It’s been a while, that may not be true now.
Author
Owner

@nschonni commented on GitHub (Oct 25, 2022):

From https://github.blog/2022-08-10-github-pages-now-uses-actions-by-default/ you could probably use https://github.com/actions/starter-workflows/blob/main/pages/static.yml with a tweak to the path to be used

<!-- gh-comment-id:1289988110 --> @nschonni commented on GitHub (Oct 25, 2022): From https://github.blog/2022-08-10-github-pages-now-uses-actions-by-default/ you could probably use https://github.com/actions/starter-workflows/blob/main/pages/static.yml with a tweak to the path to be used
Author
Owner

@DavidAnson commented on GitHub (Oct 25, 2022):

What I'd really like is a way to point to any version of the script. Then I just hardcode the list of release tags and suddenly the demo site can load anyone of them (including next). A simple redirector wouldn't be hard to add to my web site, but it wouldn't natively work for anyone wanting to run the demo locally. That said, this is a pretty niche scenario, so I might only enable it via query string parameter anyway, and this wouldn't really matter. Like I said, it just hasn't been compelling yet.

<!-- gh-comment-id:1289993267 --> @DavidAnson commented on GitHub (Oct 25, 2022): What I'd really like is a way to point to any version of the script. Then I just hardcode the list of release tags and suddenly the demo site can load anyone of them (including next). A simple redirector wouldn't be hard to add to my web site, but it wouldn't natively work for anyone wanting to run the demo locally. That said, this is a pretty niche scenario, so I might only enable it via query string parameter anyway, and this wouldn't really matter. Like I said, it just hasn't been compelling yet.
Author
Owner

@nschonni commented on GitHub (Oct 25, 2022):

https://raw.githack.com/ might work for you but when I tried priming the cache with some of the JS files for https://raw.githack.com/DavidAnson/markdownlint/next/demo/default.htm there were a few 404s for some minfied helpers that aren't in the tree

<!-- gh-comment-id:1290011993 --> @nschonni commented on GitHub (Oct 25, 2022): https://raw.githack.com/ might work for you but when I tried priming the cache with some of the JS files for https://raw.githack.com/DavidAnson/markdownlint/next/demo/default.htm there were a few 404s for some minfied helpers that aren't in the tree
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#482
No description provided.