Last 12 weeks · 3 commits
5 of 6 standards met
Repository: antfu/markdown-it-github-alerts. Description: Support GitHub-style alerts for markdown-it Stars: 211, Forks: 10. 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 (1mo ago). Open PRs: 0, open issues: 2. Last activity: 1mo ago. Community health: 85%. Top contributors: antfu, holtwick, KeJunMao, vrugtehagel, PetroSilenius.
TypeScript
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.
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.
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.