Because Jot uses PHx it’s possible to easily extend it with some nice mini-snippets.
Read the
PHx: Custom modifiers installation steps and create the
:bbcode example in the modx manager (remember to name the snippet
phx:bbcode!).
In your jot comment template replace:
[+comment.content:wordwrap:esc:nl2br+]
with:
[+comment.content:bbcode:nl2br+]
and now you have BBcode support in your comments!
See it in action on this
demo.
note to advanced users:
the bbcode snippet is just a simple example of how to implement bbcode, the regular expresions can be enhanced to support more bbcode tags and to increase security)