How to lint created Markdown (and forbid some syntaxes)


#1

Hello,

I am trying to forbid RAW HTML in the produced markdown contents.

Right now, I clean / lint the produced markdown when the user post their stackedited content to my service with commonmark java (https://github.com/atlassian/commonmark-java) but there is a gap between what users expect to have (with stackedit preview) and what they really have after posting the result to my service.

Is there any way to had plugins / extend behaviours ? I played with https://github.com/DavidAnson/markdownlint which provides everything to lint markdowns in many ways.

Best regards

Karim