.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
CodeMirror
Home Manual Code
Language modes TiddlyWiki
TiddlyWiki mode
!TiddlyWiki Formatting * Rendered versions can be found at: http://www.tiddlywiki.com/#Reference
|!Option | !Syntax | |bold font | ''bold'' | |italic type | //italic// | |underlined text | __underlined__ | |strikethrough text | --strikethrough-- | |superscript text | super^^script^^ | |subscript text | sub~~script~~ | |highlighted text | @@highlighted@@ | |preformatted text | {{{preformatted}}} |
!Block Elements blockquote, level 1 >> blockquote, level 2 >>> blockquote, level 3
> blockquote
XML styled code. TiddlyWiki mixed mode should support highlighter switching in the future.
|COLSPAN| |ROWSPAN| ... | |~| ... | |CssProperty:value;...| ... | |caption|c
''Annotation:'' * The {{{>}}} marker creates a "colspan", causing the current cell to merge with the one to the right. * The {{{~}}} marker creates a "rowspan", causing the current cell to merge with the one above. {{customCssClass{...}}} * raw HTML can be inserted by enclosing the respective code in HTML tags: {{{ ... }}}
!Special Markers * {{{ }}} forces a manual line break * {{{----}}} creates a horizontal ruler * [[HTML entities|http://www.tiddlywiki.com/#HtmlEntities]] * [[HTML entities local|HtmlEntities]] * {{{ >}}} calls the respective [[macro|Macros]] * To hide text within a tiddler so that it is not displayed, it can be wrapped in {{{/%}}} and {{{%/}}}. This can be a useful trick for hiding drafts or annotating complex markup. * To prevent wiki markup from taking effect for a particular section, that section can be enclosed in three double quotes: e.g. {{{"""WikiWord"""}}}.
var editor = CodeMirror.fromTextArea(document.getElementById("code"), { mode: 'tiddlywiki', lineNumbers: true, matchBrackets: true });
TiddlyWiki mode supports a single configuration.
MIME types defined: text/x-tiddlywiki .