i should have known this would happen. Day two of working with #commonmark-#java and I'm already writing an extension.

i *need* smart quotes & typography. only existing extension for it i found is in #Flexmark... which seems sadly to have fallen moribund, but it's also depending on features of its forked parser than the OG commonmark-java doesn't have. because you need contextual awareness. Seeing what I can do with SourceSpans but it might need to be a PostProcessor instead.

#MarkDown too

Flexmark is a CommonMark/Markdown parser for Java, offering granular control of the parsing process, HTML rendering, emulation of other parsers, conversion modules e.g. to PDF or DOCX and a vast set of extension modules. The full flexmark module family is available on APIdia for browsing API docs in a single integrated doc profile: https://apidia.net/mvn/com.vladsch.flexmark/flexmark-all

#java #javadoc #markdown #jdk #flexmark