# CodeMirror: Smarty/HTML mixed mode

{* still buggy, but getting there *} <html> <head> <title></title> <script> {$smartyvar} </script> <style type="text/css"> {assign var="c" value="another"} </style> </head> <body> <h1>{$title}</h1> <ul> {foreach from=$var} <li>{$i}</li> {/foreach} </ul> </body> </html>

The Smarty mixed mode depends on the Smarty, XML, JavaScript, and CSS modes.

MIME types defined: `text/html` (redefined, only takes effect if you load this parser after the XML parser).