All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.2b2fe1a34cdf81c656a47e493ca9d658.js Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
ace.define("ace/mode/rst_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],(function(require,exports,e){"use strict";var t=require("../lib/oop"),o=(require("../lib/lang"),require("./text_highlight_rules").TextHighlightRules),n=function(){var e="markup.heading",t="markup.heading",o="constant",n="keyword.operator",r="string",x="markup.underline.list",i="markup.bold",g="markup.italic",l="support.function",s="comment",k="(^|\\s|[\"'(<\\[{\\-/:])",a="(?:$|(?=\\s|[\\\\.,;!?\\-/:\"')>\\]}]))";this.$rules={start:[{token:e,regex:"(^)([\\=\\-`:\\.'\"~\\^_\\*\\+#])(\\2{2,}\\s*$)"},{token:["text",n,l],regex:"(^\\s*\\.\\. )([^: ]+::)(.*$)",next:"codeblock"},{token:n,regex:"::$",next:"codeblock"},{token:[r,x],regex:"(^\\.\\. _[^:]+:)(.*$)"},{token:[r,x],regex:"(^__ )(https?://.*$)"},{token:r,regex:"^\\.\\. \\[[^\\]]+\\] "},{token:s,regex:"^\\.\\. .*$",next:"comment"},{token:t,regex:"^\\s*[\\*\\+-] "},{token:t,regex:"^\\s*(?:[A-Za-z]|[0-9]+|[ivxlcdmIVXLCDM]+)\\. "},{token:t,regex:"^\\s*\\(?(?:[A-Za-z]|[0-9]+|[ivxlcdmIVXLCDM]+)\\) "},{token:o,regex:"^={2,}(?: +={2,})+$"},{token:o,regex:"^\\+-{2,}(?:\\+-{2,})+\\+$"},{token:o,regex:"^\\+={2,}(?:\\+={2,})+\\+$"},{token:["text",l],regex:k+"(``)(?=\\S)",next:"code"},{token:["text",i],regex:k+"(\\*\\*)(?=\\S)",next:"bold"},{token:["text",g],regex:k+"(\\*)(?=\\S)",next:"italic"},{token:r,regex:"\\|[\\w\\-]+?\\|"},{token:r,regex:":[\\w-:]+:`\\S",next:"entity"},{token:["text",r],regex:k+"(_`)(?=\\S)",next:"entity"},{token:r,regex:"_[A-Za-z0-9\\-]+?"},{token:["text",x],regex:k+"(`)(?=\\S)",next:"link"},{token:x,regex:"[A-Za-z0-9\\-]+?__?"},{token:x,regex:"\\[[^\\]]+?\\]_"},{token:x,regex:"https?://\\S+"},{token:o,regex:"\\|"}],codeblock:[{token:l,regex:"^ +.+$",next:"codeblock"},{token:l,regex:"^$",next:"codeblock"},{token:"empty",regex:"",next:"start"}],code:[{token:l,regex:"\\S``"+a,next:"start"},{defaultToken:l}],bold:[{token:i,regex:"\\S\\*\\*"+a,next:"start"},{defaultToken:i}],italic:[{token:g,regex:"\\S\\*"+a,next:"start"},{defaultToken:g}],entity:[{token:r,regex:"\\S`"+a,next:"start"},{defaultToken:r}],link:[{token:x,regex:"\\S`__?"+a,next:"start"},{defaultToken:x}],comment:[{token:s,regex:"^ +.+$",next:"comment"},{token:s,regex:"^$",next:"comment"},{token:"empty",regex:"",next:"start"}]}};t.inherits(n,o),exports.RSTHighlightRules=n})),ace.define("ace/mode/rst",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/rst_highlight_rules"],(function(require,exports,e){"use strict";var t=require("../lib/oop"),o=require("./text").Mode,n=require("./rst_highlight_rules").RSTHighlightRules,r=function(){this.HighlightRules=n};t.inherits(r,o),function(){this.type="text",this.$id="ace/mode/rst",this.snippetFileId="ace/snippets/rst"}.call(r.prototype),exports.Mode=r})),ace.require(["ace/mode/rst"],(function(e){"object"==typeof module&&"object"==typeof exports&&module&&(module.exports=e)}));




© 2015 - 2024 Weber Informatics LLC | Privacy Policy