JetBrains / JetBrains/markdown

Link destination with <> is parsed as autolink and hence lost

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
958
Forks
104
Avg merge
17h 30m
Merged PRs (30d)
12

Description

A [link destination](https://spec.commonmark.org/0.30/#link-destination) consists of either:
* a sequence of zero or more characters between an opening < and a closing > that contains no line endings or unescaped < or > characters, or
* a nonempty sequence of characters that does not start with <, does not include [ASCII control characters](https://spec.commonmark.org/0.30/#ascii-control-character) or [space](https://spec.commonmark.org/0.30/#space) character, and includes parentheses only if (a) they are backslash-escaped or (b) they are part of a balanced pair of unescaped parentheses. (Implementations may impose limits on parentheses nesting to avoid performance issues, but at least three levels of nesting should be supported.)

Example:
`[Test]()`
[Test]()

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.