Restricting what syntax options are enabled
Closed this issue · 1 comments
pontaoski commented
Hi, I'm looking to use MineDown, but I don't see any way to limit what elements can be parsed/rendered; e.g. I'd rather not give players the ability to make command links or the ability to colour their chat, but I'm OK with normal links and bold/italic/etc.
Phoenix616 commented
You can use MineDown#disable(MineDownParser.Option)
to do exactly that.