Hi ch Have you tried the highlight plugin? It provides syntax highlighting for code blocks:
http://tiddlywiki.com/plugins/tiddlywiki/highlight/ Best wishes Jeremy. On Sat, Sep 12, 2015 at 2:06 PM, ch <[email protected]> wrote: > no > > > On Saturday, September 12, 2015 at 3:02:15 PM UTC+2, Mat wrote: >> >> Woudl it be enough to merely put the code within triple backticks >> >> ``` >> like this >> ``` >> >> I.e >> >> empty line (!) >> triple backticks on its own line >> content >> triple backticks on its own line >> >> >> <:-) >> >> >> >> On Saturday, September 12, 2015 at 2:14:53 PM UTC+2, ch wrote: >>> >>> hi, >>> >>> i started to use tw5 running on node.js to evaluate it as a wiki >>> containing information about software development, for example: >>> >>> 1. links, like howtos, man pages, etc. >>> 2. documents, like style guides, protocols, etc. >>> 3. c source code examples, for educational purposes >>> >>> it was pretty easy to manage point 1 and 2 above, but for point 3... >>> i'am clueless. >>> >>> basically, i want the following: >>> >>> - create a tiddler which contain the raw c source code as plain text, >>> then utilizing a new tiddler (transclude the source code tiddler...?) which >>> can display the c source code, like this: >>> >>> https://codemirror.net/demo/marker.html >>> >>> i don't want to replace the built-in tw editor with codemirror (not yet) >>> - i only want to utilizing the "viewing features" of codemirror. >>> >>> - how do i accomplish that? >>> >>> please note that i have no experience about the codemirror plugin, so a >>> detailed step-by-step guide is highly appreciated. >>> >>> kindly, >>> christian >>> >>> ps. clicking the line-number gutter to add or remove 'breakpoints' - is >>> a nice codemirror feature, which i also want... >>> >>> -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/5b0db155-34d3-4251-a180-c8e0e528e609%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/5b0db155-34d3-4251-a180-c8e0e528e609%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJakMZihhvJJyuT%2BQ%3D5CLv_WSb6XrbAL%3DfYhkt%3DpBZq%2B_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

