flexmark-java icon indicating copy to clipboard operation
flexmark-java copied to clipboard

CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.

Results 186 flexmark-java issues
Sort by recently updated
recently updated
newest added

**Describe the bug** When `flexmark` is used for parsing text such as `1. `, its generated `ListBlock` does not include any whitespaces after `1.` in its offsets. This becomes weird...

I could not get docx4j to pass tests with Java 8 and gave up for now. Updated the project to Java 11 and released 0.64.0 If this is a show...

:warning: user feedback request
:hammer: breaking change

**Is your feature request related to a problem? Please describe.** I would like to be able to validate whether a certain text string is valid Markdown or not. **Describe the...

Hello, I'm trying to understand why does `BasedSequence#endOffset` is always 1 more than its index value. For example, this code prints `4` instead of the `3` I expected by assuming...

A markdown block like: ``` This is soooo cool! ![the thing](the_thing.jpg =120x60) ``` Will fail with a `StringIndexOutOfBoundsException`. The issue is with ResizableImageInlineParserExtension.java ``` @Override public boolean parse(@NotNull LightInlineParser inlineParser)...

**Describe the bug** When overriding a Markdown renderer handler by setting the `UNWRAPPED_TAGS` option, the override is sometimes applied and sometimes not. * [ ] `Parser` * [ ] `HtmlRenderer`...

move entities.properties into util-sequence that it is accessible from Html5Entities

This is not a bug in the sense that it prevents Markdown from working correctly. However it prevents [JBake from using its configuration file to add the Flexmark extensions properly](https://jbake.org/docs/2.6.7/#markdown_extensions):...

I'm attempting to contribute some code changes, but I'd like to make sure they pass all the tests, and *ideally* I'll add some benchmarks to provide evidence of improved results...