[dokuwiki] Re: inline code

  • From: Fourhundred Thecat <400thecat@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx, "Phy (Redacted sender i for DMARC)" <dmarc-noreply@xxxxxxxxxxxxx>
  • Date: Sat, 12 Oct 2019 04:41:54 +0200

On 11/10/2019 04.36, Phy (Redacted sender i for DMARC) wrote:

On Thu, Oct 10, 2019 at 8:38 AM Fourhundred Thecat <400thecat@xxxxxx> wrote:

Is there somewhere in the dokuwiki code where I could change this manually?

If somebody could point me to where ''%% is defined, I could just change
it to `.


However since you asked,
https://github.com/splitbrain/dokuwiki/blob/master/inc/Parsing/ParserMode/Unformatted.php

thanks, I found the code section, and added the following:


    function connectTo($mode) {
       ...
       $this->Lexer->addEntryPattern('`(?=.*`)',$mode,'unformattedalt');


    function postConnect() {
      ...
      $this->Lexer->addExitPattern('`','unformattedalt');


but this does not do anything. Could you please suggest how I need to
change this ?
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: