On Mon, 22 Nov 2010 05:36:33 -0500
Offray Vladimir Luna Cárdenas <[email protected]> wrote:

> Just for curiosity. Is possible to use this feature to say that this is 
> //italics// instead of this is *italics* in rst? (I think that the first 
> one is more visually appealing and I was wondering if was possible to 
> mix some kind of txt2tags with rst)

*This* mean emphasize, or *strong*, in rst, not necessarily italics.  Some 
style sheets may render it as italics, others may render it as bold or a 
different color.  Not that that means you can't prefer // to * of course, but 
thinking of *word* as meaning emphasize, it makes sense to me.

Also I would think // would make your rst unportable.

As to your actual question :-) I don't know, but I doubt leo fiddles with rst 
at that level before passing it to doctools, so I'd be surprised if there was 
an existing mechanism to do what you want.  You could always insert a hook to 
translate // to * before parsing, but it would have to be careful to avoid 
things like http://something.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to