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 NodeVisitorBase
and doing for example ((InlineLinkNode) n).setUrl("...")
(I probably need to check for other node types, too), but when I then use the formatter to convert the ast back to markdown it is not changed. I want it being changed in the resulting html and markdown source. Unfortunately I can not figure out how to do this. Do I have to use some other component?
Thank you and kind regards
Eike
- solved #3
- replies 5
- views 7K
- likes 0