mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-09 07:30:01 +00:00
Merge pull request #360 from pmario/docs-cm
docs: CodeMirror config tiddler
This commit is contained in:
commit
5c9a5f5cba
@ -32,8 +32,9 @@
|
||||
}
|
||||
.CodeMirror-linenumbers {}
|
||||
.CodeMirror-linenumber {
|
||||
padding: 0 3px 0 5px;
|
||||
min-width: 20px;
|
||||
font-size: 12px;
|
||||
min-width: 30px;
|
||||
padding: 0 2px 0 2px;
|
||||
text-align: right;
|
||||
color: #999;
|
||||
}
|
||||
|
@ -2,7 +2,10 @@ title: $:/plugins/tiddlywiki/codemirror/instructions
|
||||
|
||||
! Configuration
|
||||
|
||||
You can configure the CodeMirror plugin by creating a tiddler called [[$:/config/CodeMirror]] containing a JSON configuration object. For example:
|
||||
* You can configure the CodeMirror plugin by creating a tiddler called [[$:/config/CodeMirror]] containing a JSON configuration object.
|
||||
* The configuration tiddler needs to be `type: application/json`, to take effect.
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user