I've currently returned to doing a little work on PMEdit (see PerlMonks Editor). After mostly fixing a nasty rendering problem I find I need to know which PM specific markup is block level, which is not and which is both.
For example, c or code is both. readmore is block level only. spoiler I presume is not block level.
Can someone confirm that I have that much right, or at least point me at the code where such things are handled?
What other PM/everything specific markup need I be aware of? (I've checked Perl Monks Approved HTML tags btw.)
Update: Should PMEdit render nested elements correctly? For example:
<i><p>italic <b>bold italic</i> bold</p> <p>still bold.</b> normal</p>
renders as:
italic bold italic bold
still bold. normal
which, although expected, is rather frowned on. Would it be appropriate for PMEdit to coerce that to:
<p><i>italic <b>bold italic</b></i><b> bold</b></p> <p><b>still bold.</b> normal</p>
which renders as:
italic bold italic bold
still bold. normal
Update: Should formating be supported across code blocks. For example:
<i><code> code block italicised </code></i>
Renders as:
code block italicised
In reply to Ideas for PerlMonks Markup support in an editor by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |