Recent Changes - Search:



Whenever I input bullet markup, it makes the text get larger at each level! Please can someone explain why this is? (it even happens when I just copy and paste stuff that renders on this site, so it must be something to do with my installation... I'm using the 2.2.2 version)


Promsan July 16, 2009, at 05:53 AMPromsan

How do I achieve paragraph indents, viz
      The first line of the paragraph is indented, but subsequent lines of the paragraph are not, this is a very common way of formatting text in paragraphs? The markup -> and -< do not provide this functionality, but is is sort of the opposite of -<.

simon October 12, 2010, at 06:28 PM

PmWiki does not seem to recognize that a definition list <dl> is, well, a list. (Or I cannot find an appropriate example.) Each <dt> in HTML may be followed by any number of <dd>.

The best I seem to be able to do is
which is a list in a DD element (not to mention that DD ought to be able to include P).

LarsEighner October 12, 2011, at 07:41 AM

How do I display ascii art in pmwiki without it getting goofy? PMWiki does markup on stuff even though it inside - bracket AT ... AT bracket

# ack --bar
              ?????II?????+++++=======?===[[~jb]] July 28, 2015, at 04:26 PM==
            ,?????II????????++++====~===::[[~jb]] July 28, 2015, at 04:26 PM:~
            I?I??II?+++??+?+++==[[~jb]] July 28, 2015, at 04:26 PM:~:~:,:,,:::~
        =??+?=[[~jb]] July 28, 2015, at 04:26 PM??+?+===~~==,==[[~jb]] July 28, 2015, at 04:26 PM,,,,..,,,.:=
    I?=?I+??+=~=~?I?=+=[[~jb]]::,~~=~::~=::,,,,,,::       ---------------
    ?+I??++=++~,::+++[[~jb]]:::,,=~~=,~,..,::.:          / It's a grep! /
    ++=+?++~=:~::I+,~=:~,:,,,,:~~......::~,,,        ---------------
     ~=~=:.++~:,.,~=::::.,,:,.:~,:=...==~,::              /
     =~?++??+=~~,.:?~.:,:,,,.,::,,~:=~=::,~              /
     ++~~:~===~:~,.~::,~=~.:,..,:,,:==:.,:7             /
     ~~,::...:=:,::+:~:.,~,...,.,,,,::~,,::~=          /
      +I7:::~~=~:,::[[~jb]] July 28, 2015, at 04:26 PM.=.,~,,,,...,~7III?+??II7
     777I==:=~::[[~jb]] July 28, 2015, at 04:26 PM::~:::,:,:~:::,777I???777777777
    7777+,~===~:~:[[~jb]] July 28, 2015, at 04:26 PM:::,.~:=,,:777II???77777777777=?

PmWiki changes 3 or 4 tildes in a row upon saving the page. I know of two ways to avoid it: one requires changing the configuration file to remove this functionality. The other is to break up the tildes, for example by closing the AT-Bracket and then immediately opening a new one. For example:



To disable the tildes markup rules, add to config.php $EnableAuthorSignature = 0; . --Petko July 28, 2015, at 06:05 PM

commnent : So this is opt-in by default - that is bad. This setting should be opt-out by default.

A number of Text formatting rules and other features are enabled by default. We cannot disable all these out of the box, the software needs to have a set of features working when someone installs it. Note that the 3 or 4 tildes are very often used on talk pages where they are converted to the author's name and a time stamp, like a signature. You can see these here, on Wikipedia and on other wikis maintained by a community. --Petko July 30, 2015, at 04:31 PM

Wait, so the 4-tilde markup even has effect inside of the Preformatted block?

[@like this stuff [[~MichaelPaulukonis]] July 31, 2015, at 07:13 AM July 31, 2015, at 07:11 AM which has four tildes between stuff and which?@]

a variation [[~MichaelPaulukonis]] July 31, 2015, at 07:13 AM July 31, 2015, at 07:11 AM on a theme

like this stuff [[~MichaelPaulukonis]] July 31, 2015, at 07:13 AM July 31, 2015, at 07:11 AM which has four tildes between stuff and which?

a variation [[~MichaelPaulukonis]] July 31, 2015, at 07:13 AM July 31, 2015, at 07:11 AM on a theme

Yep, it does after save but not in preview.

This markup:

Renders this in preview:

But THIS after save:

@Petko -- this is not expected behavior for preformatted text.

MichaelPaulukonis July 31, 2015, at 07:11 AM

Actually this is how $ROSPatterns and $ROEPatterns work since they were implemented, they ignore escaped text. I agree that text wrapped with [=...=] or [@...@] should not be processed by $ROSPatterns. We should fix this. --Petko July 31, 2015, at 07:55 AM

Please don't remove the ability to use ROSPatterns within preformatted text! I use ROSPatterns as a tool for making substitutions. Conceptually, ROSPatterns go far beyond formatting how text appears: it can add new content. I think it's not appropriate to treat it as simply another way of formatting the presentation.

I think it's easier to break up long strings of tildes than it is to recreate the functionality of ROSPatterns.

Perhaps there should be directives (:norospatterns:) and (:rospatterns:), similar to what exists for linebreaks, for those who want to draw pictures using tildes. I don't want to require let alone allow directives in my PmForm forms, which are supposed to be making my wiki more user friendly.

Here's a couple of examples of how I use ROSPatterns:

  1. I currently use PmForm to edit some page text variables, and surround some of these PTVs with [= and =] to allow linebreaks within this variable. Currently I can sign comments within the variables using tildes.
  2. When I use edit templates to create a new page, I can include in that new page text that is specifed at save time using a custom ROSPattern - e.g. my Summary PTV can be set via a URL request or other logic.

If you change PmWiki to no longer process ROSPatterns in preformatted text, please at least give me an option to allow it. -- RandyB August 01, 2015, at 06:22 PM

Of course, if we change it, either the previous behavior, or the new one will be available with a configuration option, see PmWikiPhilosophy#5. --Petko August 01, 2015, at 09:06 PM

Added for 2.2.79, see $EnableROSEscape (disabled by default, current behavior kept OOTB). --Petko August 04, 2015, at 04:57 AM

This is a talk page for improving PmWiki.TextFormattingRules.

Edit - History - Print - Recent Changes - Search
Page last modified on August 04, 2015, at 04:57 AM