PHP Classes

File: FrontEndScripts/libs/codemirror/addon/mode/multiplex_test.js

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  FrontEndScripts/libs/codemirror/addon/mode/multiplex_test.js  >  Download  
File: FrontEndScripts/libs/codemirror/addon/mode/multiplex_test.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 6 years ago
Size: 833 bytes


Class file image Download
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license:

(function() {
  CodeMirror.defineMode("markdown_with_stex", function(){
    var inner = CodeMirror.getMode({}, "stex");
    var outer = CodeMirror.getMode({}, "markdown");

    var innerOptions = {
      open: '$',
      close: '$',
      mode: inner,
      delimStyle: 'delim',
      innerStyle: 'inner'

    return CodeMirror.multiplexingMode(outer, innerOptions);

  var mode = CodeMirror.getMode({}, "markdown_with_stex");

  function MT(name) {
      mode,, 1),

    "[strong **Equation:**] [delim&delim-open $][inner&tag \\pi][delim&delim-close $]");
For more information send a message to info at phpclasses dot org.