[pmwiki-users] <div> markup suggestions...?
Patrick R. Michaud
pmichaud at pobox.com
Mon Feb 28 17:08:01 CST 2005
On Tue, Mar 01, 2005 at 11:39:40AM +1300, John Rankin wrote:
> >Anyone have any suggestions for appropriate markup for this?
> I have a suggestion and a request...
> a. by analogy with % markup and noting that / means division,
> what about
> Here's a lot of stuff written by Pm, including
> * some
> * embedded
> * list
> * items
Not bad (both /Pm/ and /#Pm/).
> b. We are starting to encounter a problem with the wiki -> pdf
> converter and the ever-expanding list of markup rules.
> We'd like to be able to say to PmWiki:
> - we are generating output to the xyz dtd
> - if you find any markup translations for xhtml,
> replace <.*?> output with '' (for example)
> - tell us about any xhtml you find
Do you need to have the system read and parse the 'xyz dtd'
directly and figure things out (i.e., support arbitrary custom DTDs),
or is it sufficient to simply be aware of standard DTDs
that may have been pre-processed into a data structure or
set of patterns somewhere?
Certainly it's doable to strip any unrecognized/unwanted
XML tags from PmWiki's output.
> One solution might be if we could put a 5th
> parameter on the Markup function to specify the
> dtd. It would also be useful if we could reuse
> the 2nd (sequence) and 3rd (matching rule)
> parameters, without having to recode them.
Give me an example of the ideal Markup calling sequence
for what you're trying to do and I'll see what I can
come up with. :-)
More information about the pmwiki-users