originally from Site.Site Header

 

 

 

 

this is some mono-spaced test
that is not what
xrml foo bar baz

 

 

 


 

from Markup Notes?:

 

Create more styles

see PmWiki.Wiki Styles Plus? - for more on text-styling and available colors

 

and play around in the Main.Wiki Sand Box?

 

 

work with something like this:

%define=style-name block bgcolor=#ffbb66 border="2px dotted blue" padding=10px margin=20px% round

 

 

and use it like so

%style-name% here is some marked-up stuff

here is some marked-up single-paragraph stuff

 

 

or

 

>>style-name<<
here is some marked-up 

multi-paragraph 

stuff
>><<

 

here is some marked-up

 

multi-paragraph

 

stuff

 

 

supposedly you can use named-colors, but I (MichaelPaulukonis) haven’t had much luck getting them to work; use PmWiki.WikiStylesPlus#colors? for color-examples and hex-code translations (or any other web-dev source).

 

 

Once you’ve defined a style you like/find useful, if you put it into Site.Site Header, it will be available on all wiki-pages. Otherwise, only on the page you define it in. Or <group-name>.GroupHeader to be available for all pages in that group, but only that group.

 

 

Examples

 

This is an example of the %dev1% markup. how’s it look?

 

This is an example of the %dev2% markup. how’s it look?

 

This is an example of the %dev3% markup. how’s it look?

 

This is an example of the %dev4% markup. how’s it look?

 

This is an example of the %dev5% markup. how’s it look?

 

This is an example of the %dev6% markup. how’s it look?

 

 

Usage

Can be used to bring a highlight to a particular item of text (see also existing styles in PmWiki.Wiki Styles Plus?), or for distinguish individual contributions on a “conversational page.” In this environment, it’s reccomended to “sign” with your name, profile-link (three tildes: ~~~), or profile link + date (four tildes: ~~~~).

 

  • Custom-styles these can be applied on a paragraph level

%dev4% This is an example of some affected markup.

 

This is an example of some affected markup.

 

And some non-affected

 

  • or on a block-level

 

>>dev4<<
This is an example of some affected markup.
And some more affected.

And some more.
>><<

 

This is an example of some affected markup.
And some more affected.

 

And some more.

 

this is an example

 

%dev4% Note that custom-styles do not work w/in the markup block....

Note that custom-styles do not work w/in the markup block....

 


 

An example of adding more markup to an existing style (in this case warning)”:

 

 

Normal: >>warning<<

On March 8-9, 2007 absolutely nothing happened
It was a very normal day.
Which in itself is abnormal.

 

Modified as >>warning bgcolor=#333333 color=white<<

On March 8-9, 2007 absolutely nothing happened
It was a very normal day.
Which in itself is abnormal.

 

Show/Hide

some Triad notes
Cookbook:ShowHide

 

(:showhide div=box1 lshow="show message" init=hide:)
>>id=box1 border='1px solid #999' padding=5px bgcolor=#edf<< 
The text in this section can be hidden/shown 
>><<

  

The text in this section can be hidden/shown

 

 

See Also

Main.WikiNotes#markup?
Site.Site Header
PmWiki.Wiki Styles Plus? - for more on text-styling and available colors

 

 

Tags

internal docs markup custom