]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/php-template.js
1 /*! `php-template` grammar compiled for Highlight.js 11.11.1 */
3 var hljsGrammar
= (function () {
8 Requires: xml.js, php.js
9 Author: Josh Goebel <hello@joshgoebel.com>
10 Website: https://www.php.net
14 function phpTemplate(hljs
) {
24 // We don't want the php closing tag ?> to close the PHP block when
25 // inside any of the following blocks:
41 hljs
.inherit(hljs
.APOS_STRING_MODE
, {
47 hljs
.inherit(hljs
.QUOTE_STRING_MODE
, {
63 hljs
.registerLanguage('php-template', hljsGrammar
);