To avoid the problem of the double < p >, you can also use a div class instead 
of a p class, it's what I usually do in fact.




----- Mail original -----
De : Forgeot Eric <eforg...@yahoo.fr>
À : txt2tags mailing list <txt2tags-list@lists.sourceforge.net>
Cc : 
Envoyé le : Samedi 26 mai 2012 20h15
Objet : [t2t] Re :  Custom Sections

I think you can use something like this to achieve your effect:

%!postproc(html): '\{\{\{warning (.*?)$' '<p class="warning">\1</p>'

The only problem I see so far is that it will add a double < p >



> 
> I hope you understand what I am going for.  According to my proposed
> syntax it would be written like so.
> 
> ~~~~~~~~~~~
> This piece of software does things.
> 
> {{{warning There is a small chance that it will kill your cat, use
> with caution.
> ~~~~~~~~~~~


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to