Hi Thomas

The following procedure works for me:

* Visit tiddlywiki.com/plugins/tiddlywiki/highlight
* Create a new tiddler with the following content:

```vba
Dim mary As Person, george As Person, mimi As Person

Set mary = New Person

mary.initialize('Mary White', '1960/11/28', 50000, 'Very kind ' & _

    'and loving, she loves cooking and taking care of the house')
```

As far as I can tell, the highlighting is applied correctly if the language
is specified as either "vba" or "vbscript".

Best wishes

Jeremy.



On Sat, Dec 6, 2014 at 12:38 AM, Thomas Hirsch <[email protected]>
wrote:

> I appear to have discovered a rather annoying bug in the highlightJS
> plugin in TiddlyWiki. I am experimenting with making a small VBA reference
> using TW5. However, while I seem to be able to tag code as VBA, it doesn't
> render correctly. In VBA, comments are started with apostrophes, but in
> other languages apostrophes are used for strings, and the latter is what
> happens. As the HighlightJS demo page shows VBScript comments being
> rendered correctly, I suspect the issue is with TiddlyWiki.
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to