[pmwiki-users] Re: CodeBlock recipe (was: Idea for extension ofspeciallist syntax)

Dominique Faure dominique.faure at laposte.net
Thu Jan 27 01:29:06 CST 2005


> But as for indentation... what if the effect I want to achieve is
> something where the source looks more indented than the list item?
>
> With plain text I could achieve this indentation by writing the markup
>
> * tot titi
> --> some indented text
> * 2nd item
>
> However, this would break the current list flow as you say. Perhaps an
> extra parameter to (:code:) controlling how much the entire block is
> indented?

For now, (:code:) [=...=] results in <div 
class='codeblock'><pre>...</pre></div>, so with a little help from a set of 
css definitions you may have easily the indentation you want.

Dominique





More information about the pmwiki-users mailing list