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

In some case on my project, I need to get the urls of pictures and replace with new urls. How can I make it?

I've been trying to build a custom extension for reddit's spoiler markdown tag. It is in the pattern of `>!some text!

The vulnerability ID is CVE-2022-23302,CVE-2022-23305,CVE-2022-23307.

**Is your feature request related to a problem? Please describe.** There are alot of modules in this project managing them with maven now requires others to manage them all themselves...

**To Reproduce** ``` private static String generateHtml(String mdText) { MutableDataSet options = new MutableDataSet(); options.set(Parser.EXTENSIONS, Arrays.asList(TocExtension.create())); Parser parser = Parser.builder(options).build(); HtmlRenderer renderer = HtmlRenderer.builder(options).build(); Node document = parser.parse(mdText); return renderer.render(document);...

**To Reproduce** ```java String raw = new TextCollectingVisitor().collectAndGetText( Parser.builder().build().parse("Hello\n\nworld") ); System.out.println(raw); // Helloworld ``` **Expected behavior** `System.out.println(raw);` ``` Hello world ```

:beetle: bug
:fire: enhancement
:smoking: fixed for next release
:tada: fixed

Can the library be updated for compliance with [CommonMark Version 0.29](https://spec.commonmark.org/0.29/)

Using the attribute extension you can specify an id using a # short cut e.g. {#anchor-name} These work when using the anchorLinks extension but not without it. * [X] extension(s)...

### Version flexmark-all-0.62.2 ### SimTocExtension ignores TITLE_LEVEL > 1 like this: [TOC levels=3-5]: ### "A Title" Title level > 1 can only be set via Parser option, e.g.: options.set( SimTocExtension.TITLE_LEVEL,...

Or do I need to write a custom renderer? ------------------- Example: ``` 2. hello some text ``` results in this output: ``` hellosome text ``` but I would like it...