Site.Temp History

Hide minor edits - Show changes to output - Cancel

 
 
July 29, 2011, at 10:04 AM by OtherMichael -
Changed line 12 from:
%define=xrml font-family=monospace%
to:
%define=xrml font-family=monospace line-height=1.1em%
 
 
July 29, 2011, at 10:03 AM by OtherMichael -
Changed line 12 from:
%define=xrml font-family=monospacer%
to:
%define=xrml font-family=monospace%
 
 
July 29, 2011, at 10:01 AM by OtherMichael -
Changed line 12 from:
%define=xrml block font=courier%
to:
%define=xrml font-family=monospacer%
 
 
July 29, 2011, at 09:59 AM by OtherMichael -
Added lines 11-19:

%define=xrml block font=courier%


>>xrml<<
this is some mono-spaced test
that is not what
xrml foo bar baz
>><<
 
 
September 14, 2009, at 03:58 PM by OtherMichael -
Added lines 1-148:
originally from Site.SiteHeader

%define=michaelpaulukonis block bgcolor=#ddddff border="2px dotted blue" padding=10px margin=20px%
%define=jimwilce block bgcolor=silver border="2px dotted blue" padding=10px margin=20px%
%define=dev1 block bgcolor=grey border="2px dotted blue" padding=10px margin=20px%
%define=dev2 block bgcolor=lightgrey border="2px dotted blue" padding=10px margin=20px%
%define=dev3 block bgcolor=teal border="2px dotted blue" padding=10px margin=20px%
%define=dev4 block bgcolor=#669966 border="2px dotted blue" padding=10px margin=20px%
%define=dev5 block bgcolor=#ff6666 border="2px dotted blue" padding=10px margin=20px%
%define=dev6 block bgcolor=#ffbb66 border="2px dotted blue" padding=10px margin=20px%


%define=trail bgcolor=#eeeeee%
(:showright:)
(:*toc:)

------

from MarkupNotes:

(:description examples of custom styles:)
!![[#create]] Create more styles
see PmWiki.WikiStylesPlus - for more on text-styling and available colors

and play around in the Main.WikiSandBox


work with something like this:
->[@%define=style-name block bgcolor=#ffbb66 border="2px dotted blue" padding=10px margin=20px% round@]

%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@]
%style-name% here is some marked-up single-paragraph stuff


or

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

multi-paragraph

stuff
>><<@]

>>style-name<<
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.SiteHeader, 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]] Examples

%dev1% This is an example of the [@%dev1%@] markup. how's it look?

%dev2% This is an example of the [@%dev2%@] markup. how's it look?

%dev3% This is an example of the [@%dev3%@] markup. how's it look?

%dev4% This is an example of the [@%dev4%@] markup. how's it look?

%dev5% This is an example of the [@%dev5%@] markup. how's it look?

%dev6% This is an example of the [@%dev6%@] markup. how's it look?


!![[#usage]] Usage
Can be used to bring a highlight to a particular item of text (see also existing styles in PmWiki.WikiStylesPlus), 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.@]

%dev4% 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.
>><<@]

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

And some more.
>><<

%michaelpaulukonis% this is an example

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

----

An example of adding more markup to an existing style (in this case [@warning@])":


Normal: [@>>warning<<@]
>>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<<@]
>>warning bgcolor=#333333 color=white<<
'''On March 8-9, 2007 absolutely nothing happened'''
It was a very normal day.
Which in itself is abnormal.
>><<

!![[#showhide]] Show/Hide
some Triad notes
Cookbook:ShowHide

(:markup:)
(: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
>><<
(:markupend:)


!! See Also
[[Main.WikiNotes#markup]]
Site.SiteHeader
PmWiki.WikiStylesPlus - for more on text-styling and available colors


!! Tags
[[!internal docs]] [[!markup]] [[!custom]]