[pmwiki-users] Fwd: change color of a word inside a preformatted text
Calin Floare
cfloare at gmail.com
Thu Apr 5 07:30:20 CDT 2012
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 <pbowers at pobox.com> wrote:
> On Wed, Apr 4, 2012 at 9:28 PM, Calin Floare <cfloare at gmail.com> 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: cfloare at itim-cj.ro (cfloare at gmail.com)
Web: http://www.itim-cj.ro/~cfloare/
Tel: +40 264 584037 - ext. 181 (work) or +40 729 934133 (mobile)
Fax: +40 264 420042
_______________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20120405/9f5a0166/attachment.html>
More information about the pmwiki-users
mailing list