At the start of a line, <:block> means "start a block-level element",
i.e. break out of the paragraphs.
Say you have these markups:
* (:abc:) returns 'ABC'
* (:def:) returns '<:block>DEF'
This wiki text:
Some text
(:abc:)
some other text
will produce this HTML (simplified):
<p>Some text
ABC
some other text</p>
While this wiki text:
Some text
(:def:)
some other text
will produce this HTML (simplified):
<p>Some text</p>
DEF
<p>some other text</p>
This is intended for a markup rule to return a block level element like
<div>...</div> that is not allowed inside an HTML paragraph.
Petko
On 22/01/2022 01:33, Simon wrote:
> Just reaching out for info on
> <:block>
> and what it does when inserted into the markup stream
_______________________________________________
pmwiki-devel mailing list
pmwiki...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel