flexmark-java
flexmark-java copied to clipboard
Whitelisting
Is it possible to define what markdown is allowed? I would like to restrict markdown to basic formatting.
brgds
Papick
There is a mechanism to disable parsing some built-in inline and block elements via settings.
The inline formatting is more difficult to disable because logic for parsing of several elements is intertwined.
Look for core settings which contain DISABLE or ENABLE in the name.