From dcb9e161de977a7be7ef38e5e99fd908042326a9 Mon Sep 17 00:00:00 2001 From: Devin Weaver Date: Sun, 8 Mar 2015 16:38:16 -0400 Subject: [PATCH] Fix CodeMirror README formatting There was a rendering mess in the CodeMirror readme file. This was cause by attempting to bold the `$:/tags/Stylesheet` text. Also the context of the sentence implies this should be backticked not bold (it refers to a tag not a tiddler). --- plugins/tiddlywiki/codemirror/readme.tid | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/tiddlywiki/codemirror/readme.tid b/plugins/tiddlywiki/codemirror/readme.tid index e149f149d..68c936af7 100644 --- a/plugins/tiddlywiki/codemirror/readme.tid +++ b/plugins/tiddlywiki/codemirror/readme.tid @@ -226,9 +226,8 @@ Then the closing tag '''' should automatically appear. ## Create a tiddler `$:/plugins/tiddlywiki/codemirror/addon/fold/xml-fold.js`, the code can be found here [[https://raw.githubusercontent.com/codemirror/CodeMirror/master/addon/fold/xml-fold.js]] ## Create a tiddler `$:/plugins/tiddlywiki/codemirror/addon/fold/foldgutter.js`, the code can be found here [[http://codemirror.net/addon/fold/foldgutter.js]] # Create a tiddler `$:/plugins/tiddlywiki/codemirror/addon/fold/foldgutter.css` -## Add the tag ''$:/tags/Stylesheet'' +## Add the tag `$:/tags/Stylesheet` ## Set the text field of the tiddler with the css code from this link : [[http://codemirror.net/addon/fold/foldgutter.css]] - # Set the text field of the tiddler `$:/config/CodeMirror` to: ``` @@ -247,7 +246,6 @@ Then the closing tag '''' should automatically appear. "gutters": ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] } } - ``` Now if you type the below code in a tiddler with the type `text/html`: