Eike Kettner

eikek ·

Set content of html blocks

question

@eikek, yes the cause is the same. You can get around it for now by setting the Parser.BLANK_LINES_IN_AST option. Which is how the Formatter was tested. However this causes extra blank lines in Markdown to be preserved.

The fix will not require blank lin...

Set content of html blocks

question

@eikek, yes the cause is the same. You can get around it for now by setting the Parser.BLANK_LINES_IN_AST option. Which is how the Formatter was tested. However this causes extra blank lines in Markdown to be preserved.

The fix will not require blank lin...

Set content of html blocks

question

@vsch thank you very much! Yes, this setting indeed fixes my problem.

Set content of html blocks

question

@vsch thank you for the very quick reply. I just experimented a little more and found that the missing line is also happening with the example you showed me in my last question. For example with this document:

- [link](link.txt)

next line

when replac...

Set content of html blocks

question

Hi @vsch
I'm now trying to replace links in html snippets, too. When I use html.setChars and then format it back to markdown, the newline that separates the block from the next and indentation is lost. For example the initial markdown is:

l...

Replace all link targets in markdown ast

question

@eikek, repo updated, maven update in progress. Sample for changing URLs and output using formatter: FormatterWithMods.java

Replace all link targets in markdown ast

question

@vsch thank you very much! I see the example is exactly what I want. Going to try it soon :) Thanks again!

Replace all link targets in markdown ast

question

Hello,

first thank you for this library! I never used pegdown or flexmark before, so this is probably a stupid question…. I'd like to parse a markdown document and then change all links to some other url. I tried using a and doing for example (I proba...

Joined GitQ

on