GitShow/antfu/markdown-it-github-alerts
antfu

markdown-it-github-alerts

Support GitHub-style alerts for markdown-it

by antfu
github-flavored-markdownmarkdownmarkdown-it
Star on GitHubForknpm

TypeScript

220 stars11 forks5 contributorsQuiet · 7mo agoSince 2023v1.0.1MIT

Meet the team

See all 5 on GitHub →
antfu
antfu23 contributions
holtwick
holtwick1 contribution
KeJunMao
KeJunMao1 contribution
vrugtehagel
vrugtehagel1 contribution
PetroSilenius
PetroSilenius1 contribution

Languages

View on GitHub →
TypeScript47.1%
HTML39.7%
CSS12.7%
JavaScript0.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

5 of 6 standards met

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

Recent PRs & issues

Quiet · 1 in progress · Last activity 7mo ago
See all on GitHub →
wazawoo
Remove unused `--color-severe`OpenPR

🧭 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 · 1mo ago
personalizedrefrigerator
Reporting a security vulnerability?OpenIssue

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

personalizedrefrigerator · 7mo ago
ulfschneider
Rendering options to improve content presented through an RSS readerOpenIssue

Clear and concise description of the problem Hi Anthony, thank you for your great plugin. I found it works well when using it on a website where I have full control of the styling, but there are some things that are not ideal when delivering the content through an RSS reader, where I will give up styling control to the reader. E.g.: There is no space between the icon and the marker title I would like the color of the icon adapting to the color of the marker title, which would be the current text color the reader is giving to that element, Rendering as a blockquote would come closer to what I want to see from the alert, the paragraph inside of a reader does not give the right emphasis Here is a sample of the current rendering in Reeder: !CleanShot 2024-07-10 at 08 02 21@2x Suggested solution Could you think of having settings, like to inherit the text color for the icon (for the icon, fill="currentcolor"), and to use a wrapping blockquote instead of a div? Probably wrapping the marker title in a span and putting a space between the icon and the title-span could be done anyway. 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.

ulfschneider · 2y ago

Recent fixes

View closed PRs →
SYuan03
Failed on my blog siteClosedIssue

!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 · 6mo ago
titanism
feat: support escaped character `\` before `> [!CAUTION]` (e.g. `> \[!CAUTION]`) to be 1:1 compatible with GitHubClosedIssue

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
fix: allow any version of markdown-it above 13MergedPR

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: antfu/markdown-it-github-alerts. Description: Support GitHub-style alerts for markdown-it Stars: 220, Forks: 11. 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 (7mo ago). Open PRs: 1, open issues: 2. Last activity: 7mo ago. Community health: 85%. Top contributors: antfu, holtwick, KeJunMao, vrugtehagel, PetroSilenius.

·@ofershap

Replace github.com with gitshow.dev