JetBrains / JetBrains/markdown

Multiline Link Reference Definitions are parsed incorrectly.

Open
#51 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

The CommonMark spec allows link reference defintions to span multiple lines.

For example, the [spec states that the following markdown](https://spec.commonmark.org/0.29/#example-164):

```markdown
[Foo bar]:

'title'

[Foo bar]
```
should render like this:

```html

Foo bar


```

But this library fails to recognize the link definition and instead renders it like this:

```html

[Foo bar]:

'title'

[Foo bar]


```

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.