[pmwiki-users] Markup removal?
david at ellendee.co.uk
david at ellendee.co.uk
Wed Jan 15 03:17:14 PST 2020
Yes, DisableMarkup works perfectly for what I want. Thank you
Regards
Dave
-----Original Message-----
From: Petko Yotov <5ko at 5ko.fr>
Sent: 15 January 2020 11:10
To: david at ellendee.co.uk
Cc: 'PMWiki' <pmwiki-users at pmichaud.com>
Subject: Re: [pmwiki-users] Markup removal?
On 15/01/2020 02:31, david at ellendee.co.uk wrote:
> I have, at the start of 1 line a piece of text "Q:1/4=120" - part of
> an ABC notation page.
>
> It is being translated to "</p><p class='question'>1/4=120</p><p>" by
> the wiki engine.
>
> Is there any easy way to counteract this? A markup sequence perhaps.
Yes, this is the Questions and Answers Q:/A: markup.
If you are using some addon to process the ABC notation, it needs to be run
before the "^Q:" markup -- contact the developer of the addon.
If the ABC notation is just plain text in the page, you can wrap it with the
escape sequence [=...=] like this:
[=Q:1/4=120=]
Or even precede it with the null sequence:
[==] Q:1/4=120
It is also possible to disable the Q:/A: markups. This will also apply to
the documentation in the PmWiki/ group, and possibly elsewhere. In
config.php:
DisableMarkup('^Q:', '^A:');
Petko
This email has been scanned by BullGuard antivirus protection.
For more info visit www.bullguard.com
More information about the pmwiki-users
mailing list