CodeMirror: Smarty mode

Default settings (Smarty 2, { and } delimiters)


Smarty 2, custom delimiters


Smarty 3

A plain text/Smarty version 2 or 3 mode, which allows for custom delimiter tags.

MIME types defined: text/x-smarty