Back to Opencart

CodeMirror

upload/assets/codemirror/mode/htmlembedded/index.html

4.1.0.3546 B
Original Source

Html Embedded Scripts mode

<% function hello(who) { return "Hello " + who; } %> This is an example of EJS (embedded javascript)

The program says <%= hello("world") %>.

Mode for html embedded scripts like JSP and ASP.NET. Depends on multiplex and HtmlMixed which in turn depends on JavaScript, CSS and XML.
Other dependencies include those of the scripting language chosen.

MIME types defined: application/x-aspx (ASP.NET), application/x-ejs (Embedded JavaScript), application/x-jsp (JavaServer Pages) and application/x-erb