On Thursday, June 6, 2013 1:55:04 AM UTC+2, Yakov wrote:
>
> * the same story with line numbers in text/x-tiddlywiki: as it's not a 
> code, line numbers are not necessary
> ** can I customize this one myself?
>
> Open the CodeMirrorConfig tiddler and add "lineNumbers: false" to the 
tiddlywiki section
similar to this one.

!!! tiddlywiki
{{{
tags: 
mode: tiddlywiki
indentWithTabs: true
tabSize: 4
indentUnit: 4
lineWrapping: true
lineNumbers: false
}}} 

as you can see, there is a global section, that defines the default.
Every mime section will overwrite the default setting.
-> Endless possibilities :))

http://codemirror.net/2/doc/manual.html contains the docs for all possible 
parameters. 
See the "/2/" there!!

Everything that needs a (function) input won't work, without a TW wrapper 
function!

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to