1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

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).
This commit is contained in:
Devin Weaver 2015-03-08 16:38:16 -04:00
parent 42499ea6ff
commit dcb9e161de

View File

@ -226,9 +226,8 @@ Then the closing tag ''</html>'' 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 ''</html>'' should automatically appear.
"gutters": ["CodeMirror-linenumbers", "CodeMirror-foldgutter"]
}
}
```
Now if you type the below code in a tiddler with the type `text/html`: