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

GitHub-Flavored Markdown isn't supported #1240

Open
jcayzac opened this issue Aug 21, 2024 · 3 comments
Open

GitHub-Flavored Markdown isn't supported #1240

jcayzac opened this issue Aug 21, 2024 · 3 comments

Comments

@jcayzac
Copy link

jcayzac commented Aug 21, 2024

See e.g. this package documentation rendered on npmjs.com versus the same thing rendered on GitHub. Admonitions aren't rendered on npmjs.com.

@ljharb
Copy link
Contributor

ljharb commented Aug 22, 2024

To be fair, it's a brand new GFM feature.

@Kenneth-Sills
Copy link

I wouldn't call it brand new, it's coming up on 9 months since official release, but it's not technically an official part of the GFM specification and definitely easy to overlook or deprioritize in the scheme of things. 😄

Anywho, I also find the raw syntax a bit jarring, so I just threw together a userscript to fix the rendering like:

image

Quickly tested in ViolentMonkey against the package linked above. Does the trick for me!

@ljharb I briefly looked around, but didn't see anywhere in the NPM org where those package pages are rendered. Do you know if that's open source and where I could contribute to a proper fix, or if it's closed and we just need to wait for a staffer to pick it up? Thanks!

@ljharb
Copy link
Contributor

ljharb commented Aug 30, 2024

I believe it's closed and only staff can do something about it.

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

3 participants