It should be possible to include plantUML syntax in text areas. The picture or svg is rendered by using either a locally installed plantuml.jar or by using the plantuml server in a similar way of using elastic search.
for reference:
* http://plantuml.sourceforge.net
* http://plantuml.sourceforge.net/running.html