flexmark-java
flexmark-java copied to clipboard
Support Delimited Node with a combination of opening and closing characters
I've been trying to build a custom extension for reddit's spoiler markdown tag.
It is in the pattern of >!some text!<. However, while implementing the DelimiterProcessor I can't use the combination of string tags as it requires a character in opening and closing.
I've also been looking into InlineParserExtension, but I feel since it is a delimited node, we should have a support for the same.
Any help would be appreciated!
Delimited nodes use the same character(s) for opening and closing.
Nodes that have special characters such as ><[] require special handling. I will add a sample for this shortly.