markdown icon indicating copy to clipboard operation
markdown copied to clipboard

A Dart markdown library

Results 41 markdown issues
Sort by recently updated
recently updated
newest added

Is there a reason that the default inline syntaxes are private? https://github.com/dart-lang/markdown/blob/782b1803a29aa964410d93b4437d5d1efa47f6b4/lib/src/inline_parser.dart#L26 Imagine that I want the defaults, but I want to add my own syntax either as top priority,...

- Fix #601: INPUT is not placed correctly if the list items are separated by blank lines --- - [x] I’ve reviewed the contributor guide and applied the relevant portions...

Example, ``` - [ ] A - [ ] B ``` generates ![Screenshot 2024-03-28 at 11 22 15 AM](https://github.com/dart-lang/markdown/assets/785688/da4ca53c-553b-481a-9568-a8a6c36001a1) ``` A B ``` Rather, it shall be ``` A B...

Consider a text segment like `**something*` - currently, parsing that text with this package yields **something*. I'm using this package to implement Markdown serialization as the user types. In the...

I'm trying to build a solution to #599 in my own package. To do that, I'm trying to define my own `InlineSyntax`, which needs to inspect the `_delimiterStack`. But the...

Markdown version: 7.2.2 using `GitHubWeb` extension set. Originally reported: https://github.com/dart-lang/pub-dev/issues/7559 Input: ``` Future **labelDetection** ``` Output: ``` Future<List> labelDetection ``` Expected: `` is also escaped to `<EntityAnnotation>`.

In https://github.com/dart-lang/markdown/pull/585 I and later @srawlins sort of agreed that exposing `*Syntax` objects is probably a bad idea. We could document that, so consumers don't have to come to the...

A proposed fix for https://github.com/dart-lang/markdown/issues/584 As I understand the alert-block syntax, it is an extension on the original blockquote support in markdown. Basically, it's a blockquote that is rendered differently....

Some long markdown files may take several seconds to parse and process, e.g.: https://raw.githubusercontent.com/Workiva/over_react/master/CHANGELOG.md Using: ``` List _parseMarkdownSource(String source) { final document = m.Document( extensionSet: m.ExtensionSet.gitHubWeb, blockSyntaxes: m.ExtensionSet.gitHubWeb.blockSyntaxes); final lines...

type-bug
P2

Hi, I'm using the library in my app and I noticed multiple linebreaks in a row are replaced by 1 (br tag). Is there a way to keep the amount...

type-question