made-in-common

markdown-it-github-alerts

Support GitHub-style alerts for markdown-it

by made-in-common

TypeScript

TypeScript47.1%
HTML39.7%
CSS12.7%
JavaScript0.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
62
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 2 in progress · Last activity 18h ago
See all on GitHub →
ArcticLampyrid

Summary v15 ships built-in TypeScript declarations and no longer exports (which came from ). As a result, consumers using v15 encounter a type error when importing . This PR updates the plugin type signature to use from the default import instead of : Works with v15 (built-in types, where the default export is a callable constructor value and is absent). Remains fully compatible with v13 and v14 (). Adds a type assertion for so also typechecks under v15's stricter type (). Verification Passed , , , and in this repository. Verified the generated with under both and across: (no ) + + +

ArcticLampyrid · 2d ago
wazawoo

🧭 Context I wanted to test all alert types to see their colors on my site looking at colors in css, I saw so I assumed there was an alert type for severe seeing that there wasn't, I wanted to remove the unused color to reduce confusion for anyone else if severe should be here, I can instead add it, but an icon would be needed and I'm not sure what's expected there 📚 Description remove from css files as it is referenced nowhere else

wazawoo · 4mo ago
personalizedrefrigerator

What's the best way to report a potential security vulnerability in the Github Alerts markdown-it plugin? Thank you!

personalizedrefrigerator · 10mo ago
SYuan03

!image Is it a problem of my hexo theme? I use it like this in my _config.yml !image Could you please have a look?Orz

SYuan03 · 9mo ago
titanism

Clear and concise description of the problem This is a request to support this case: Note the character before the for escaping. This works with GitHub already. Example below: with character: \[!TIP] Some tip here without character: [!TIP] Some tip here Suggested solution We should support character before a marker Alternative _No response_ Additional context _No response_ Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

titanism · 1y ago
vrugtehagel

Description This PR fixes warnings about unmet peer dependencies; similar to https://github.com/antfu/markdown-it-github-alerts/pull/4, but future-proof. I'm currently using , triggering the warning as the peer dependency only allows versions . I set the minimum version to 13 given it was previously changed to 14 only to fix this error; compatibility was not affected since then. See also semver range syntax.

vrugtehagel · 1y ago
Structured data for AI agents

Repository: made-in-common/markdown-it-github-alerts. Description: Support GitHub-style alerts for markdown-it Stars: 223, Forks: 12. Primary language: TypeScript. Languages: TypeScript (47.1%), HTML (39.7%), CSS (12.7%), JavaScript (0.5%). License: MIT. Topics: github-flavored-markdown, markdown, markdown-it. Latest release: v1.0.1 (10mo ago). Open PRs: 2, open issues: 2. Last activity: 18h ago. Community health: 62%. Top contributors: antfu, holtwick, KeJunMao, vrugtehagel, PetroSilenius.