Thank you for the answer. This is nice but what I would like more this time, is to have all text of the sourcecode in black and to highlight only some small parts in it, by changing the color of the font for this part only, in red, as an example.
Something similar with %red% ... %% but inside a preformatted text. For example I have a general bash script and I want to highlight only the parts which have to be changed by the user for a proper use for their own problem. Possibly I can do it, creating a markup but I have to learn how to do it firstly and I thought that someone needed something similar before me and that a solution is already available. Thank you again, Calin On Wed, Apr 4, 2012 at 11:38 PM, Peter Bowers <[email protected]> wrote: > On Wed, Apr 4, 2012 at 9:28 PM, Calin Floare <[email protected]> wrote: > > Or otherwise, I would like to know, any other suggestion which can help > me > > to change the color of a part of C code or an example script > (pre)formatted, > > inside a box. > > http://www.pmwiki.org/wiki/Cookbook/SourceBlock > http://www.pmwiki.org/wiki/Cookbook/Beautifier > > Or just create your own markup that works much like [@...@] or [=...=] > but does your specific processing ahead of time. > > -Peter > -- .~. /V\ Calin G. Floare /( )\ www.itim-cj.ro ^^-^^ -- _______________________________________________________ Calin Gabriel Floare National Institute for R & D of Isotopic and Molecular Technologies Donath Str. 65-103, P.O. Box 700, 400293, Cluj-Napoca 5, Romania E-mail: [email protected] ([email protected]) Web: http://www.itim-cj.ro/~cfloare/ Tel: +40 264 584037 - ext. 181 (work) or +40 729 934133 (mobile) Fax: +40 264 420042 _______________________________________________________
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
