[Pmwiki-users] RevisionMarks - How do I activate them?

John Rankin john.rankin
Thu Oct 23 14:03:29 CDT 2003


Joh, see attached script and include it in your local.php file.

For a reason that I can't now remember, the script also adds

^^superscript^^ and __subscript__ markup. You can of course
comment those lines out if you prefer.

If you are using a style sheet, you may wish to add the following:

del {
	color: red;
}
ins {
	background-color: yellow;
	text-decoration: none;
}

Let me know how you get on and I hope you find it useful.

JR
-- 
John Rankin


On Friday, 24 October 2003 3:04 AM, John Feezell <johnfeezell at 3wplace.com> wrote:
I would like to include revision marks as an editing option but I found 
only the following discussion in PmWiki.

Could someone provide instructions about how to install them on a wiki?

What is needed to use the double-bracket macro [[revisions]]?

Anyone planning additional work in this area?

Thanks.

------------------------------

From: PmWiki.RevisionMarks

Based on the current bigger and smaller markup, the prototype encyclopedia 
is using {+inserted text+} and {-deleted text-} markup. By default, these 
get translated into the <ins> and <del> HTML tags.

A [[revisions]] macro allows the page rendering to toggle between Hide 
Revisions and Show Revisions. More PmWikiBracketAbuse.

A possible future enhancement would be an Accept Revisions option that puts 
the author into the edit screen with all revision markup removed from the 
page, ready for a Save. -- 

_______________________________________________
Pmwiki-users mailing list
Pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 785 bytes
Desc: not available
Url : http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/attachments/20031023/d411e583/attachment.obj


More information about the pmwiki-users mailing list