Add CSS to html tags in edittemplate?

65 views
Skip to first unread message

David Gifford

unread,
Mar 23, 2017, 10:24:39 AM3/23/17
to TiddlyWiki
Hi all

I am adding a lot of html tags in certain tiddlers. Is there a plugin or CSS I could add so that any markup text, that is, text between < and > could be viewed as a different color in the text field when editing a tiddler?

Ste Wilson

unread,
Mar 23, 2017, 5:23:38 PM3/23/17
to TiddlyWiki
Wasn't there a code mark up plug in.. Have a look in the Reddit list riz set up.

Mat

unread,
Mar 23, 2017, 9:24:53 PM3/23/17
to TiddlyWiki
Yes, the I believe the codemirror plugin does this (and more). You find it in the plugin library.

In general, you can't style content in a textarea but there are tricks like this;

http://codersblock.com/blog/highlight-text-inside-a-textarea/

<:-)

David Gifford

unread,
Mar 23, 2017, 9:56:42 PM3/23/17
to TiddlyWiki
Thanks Mat, and thanks Ste
Reply all
Reply to author
Forward
0 new messages