[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Rob Hoelz
Good idea, Mohammad - I've added those instructions to that wiki! On Monday, February 4, 2019 at 1:53:03 PM UTC-6, Mohammad wrote: > > Rob, > Many thanks. It works. > > Just a note in document and the above post add this small guide > >1. To add a new brush, download one you like from >h

[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Mohammad
Rob, Many thanks. It works. Just a note in document and the above post add this small guide 1. To add a new brush, download one you like from https://cdnjs.com/libraries/highlight.js 2. Create a new tiddler with any title you like and 1. add a new field, name it `module-type` and

[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Mohammad
Many thanks Rob! I am playing with it and will return with my comments if any! Cheers Mohammad On Monday, February 4, 2019 at 9:59:44 PM UTC+3:30, Rob Hoelz wrote: > > Hi again Mohammad, > > In preparing the sample wiki, I managed to fix a bug in my implementation > - thanks for pointing that

[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Rob Hoelz
Hi again Mohammad, In preparing the sample wiki, I managed to fix a bug in my implementation - thanks for pointing that out! Here's an example wiki with the tweak and some example code: https://hoelz.ro/files/highlighter-example.html -Rob On Monday, February 4, 2019 at 10:03:28 AM UTC-6, Moha

[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Mohammad
Thank you Rob, At least two people here need your solution: me and Josiah! I am sure if the setup could be simple, many would like to use it as the original Highlight.JS plugin does not include all languages! Recently I noted that BTC has added the lovely Fortran, Matlab and some other languages

[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Rob Hoelz
I'm so sorry, Mohammad - I missed your message last month! I'll set something up later tonight! -Rob On Monday, February 4, 2019 at 8:16:03 AM UTC-6, Mohammad wrote: > > Hello Rob, > Could you put a working example on tiddlyspot or share here? > I failed to add any extra language! > > > --Moha

[tw5] Re: Custom languages/brushes for highlight.js

2019-02-04 Thread Mohammad
Hello Rob, Could you put a working example on tiddlyspot or share here? I failed to add any extra language! --Mohammad -- 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 ema

[tw5] Re: Custom languages/brushes for highlight.js

2019-01-07 Thread Mohammad
Rob, could you put a working example on tiddlyspot or github or post here? I could not setup as you said on TW 5.1.19 --Mohammad -- 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, sen

[tw5] Re: Custom languages/brushes for highlight.js

2019-01-05 Thread Rob Hoelz
Thanks for letting me know that BTC is working on this, Mohammad! I'll mention this on the GitHub issue and see if this can get brought into the plugin itself. On Friday, January 4, 2019 at 9:00:12 PM UTC-6, Mohammad wrote: > > Rob, > This is great. The current mechanism is not modular. I hope