I would guess that the version of codemirror in the tiddlywiki extension is 
not the same as is on the codemirror site. - I have had a quick look at the 
code and cannot see a version number! - it has been in the tw repo on git 
hub for a couple of year....

I guess we will have to live without bracket matching at this time. It 
needs to be raised as an issue.

On Friday, February 19, 2016 at 9:24:40 PM UTC, Hegart Dmishiv wrote:
>
> Hi BJ,
>
> I've gotten the *Basic working configuration* to work, with bracket 
> matching 
> <https://dl.dropboxusercontent.com/s/y5yubous01eyifc/HegartDmishiv-on-DesignWrite.html>,
>  
> but I can't get *Add closing brackets* to work. It comes up with a red 
> Javascript error every time I use it. There must be a simpler way to use 
> this thing, rather than having to add bits and pieces of raw Javascript 
> code to my TiddlyWiki to make it work? Has someone got a working 
> configuration that I can just pull into my TW instance, to get the bracket 
> closing and WikiText syntax highlighting to work?
>
> Hegart.
>
>
> On Saturday, 20 February 2016 06:30:12 UTC+13, Hegart Dmishiv wrote:
>>
>> Aha! Thanks for that BJ. I was wondering what was going on. The 
>> instructions 
>> <http://tiddlywiki.com/plugins/tiddlywiki/codemirror/#HelloThere> for 
>> this only say:
>>
>>  "To add the plugin to your own TiddlyWiki5, *just drag this link to the 
>> browser window*" 
>>
>> Nothing about having to configure it. I'm going through the configuration 
>> process now. The documentation for this definitely needs to be better, not 
>> the internal documentation that you pointed me to, but the fact that there 
>> even is internal documentation, and configuration required, needs to be 
>> pointed out for us n00bs!
>>
>> Hegart.
>>
>>
>>
>> On Saturday, 20 February 2016 05:39:48 UTC+13, BJ wrote:
>>>
>>> Hi Hegart,
>>> you need to look at the tiddler $:/plugins/tiddlywiki/codemirror/usage 
>>> to see how to setup using a config tiddler ($:/config/CodeMirror)
>>> all the best
>>> BJ
>>>
>>> On Tuesday, February 16, 2016 at 2:32:47 AM UTC, Hegart Dmishiv wrote:
>>>>
>>>> I have two {{DesignWrite}} TW5 instances[1 
>>>> <https://dl.dropboxusercontent.com/s/y5yubous01eyifc/HegartDmishiv-on-DesignWrite.html#%24%3A%2FControlPanel>
>>>> ][2 
>>>> <https://dl.dropboxusercontent.com/s/wco3fcvaj1mweqt/inclusivity.html#%24%3A%2FControlPanel>
>>>> ] and my offline TW5 instance, all of which have the CodeMirror 
>>>> <http://tiddlywiki.com/#CodeMirror%20Plugin> and the Highlight.js 
>>>> <http://tiddlywiki.com/#Highlight%20Plugin> plugins installed. None of 
>>>> my TW instances have syntax highlighting working when I edit a tiddler. I 
>>>> can't even see syntax highlighting on the plugin demo site 
>>>> <http://tiddlywiki.com/plugins/tiddlywiki/codemirror/>. I've tried it 
>>>> from both Firefox v44.0 and Midori <http://midori-browser.org/> web 
>>>> browsers. I'm running Lubuntu <http://lubuntu.net/> v14.04 LTS as my 
>>>> operating system. Is there something else I need to enable in order to get 
>>>> syntax highlighting to work properly? 
>>>>
>>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/48be100c-d05b-42c2-8430-fc61017b6e79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to