Skip to content

Upstream Commits - #1

Open
LoboMetalurgico wants to merge 314 commits into
ProjectAtmos:masterfrom
markdown-it:master
Open

Upstream Commits#1
LoboMetalurgico wants to merge 314 commits into
ProjectAtmos:masterfrom
markdown-it:master

Conversation

@LoboMetalurgico

Copy link
Copy Markdown
Member

No description provided.

hukkinj1 and others added 30 commits March 17, 2021 18:01
Clarify `Token.info` comment
Fix newline not rendered in image alt attribute
For instance, in a list

    1. Item 1
    20. Item 2

the first list_item_open token will have token.info === '1', and the
second will have token.info === '20'.

This is useful for later rendering plugins that might want to
use the actual markers.
This fixes quadratic complexity in `**<...>**a**<...>**`
pathological case.
This is a minor change, but since it pops up on every new issue and I caught it I thought it would be nice to fix.
Co-authored-by: MakeNowJust <make.just.on@gmail.com>
puzrin and others added 30 commits July 27, 2026 05:42
mdurl.encode() treats '[' and ']' as unsafe and percent-encodes them,
so IPv6 address literals such as http://[2001:db8::1]/ were emitted as
http://%5B2001:db8::1%5D/. Encode URL components individually and let
mdurl.format() add the IPv6 brackets back as URL syntax delimiters.
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

Successfully merging this pull request may close these issues.