On Fri, May 21, 2010 at 11:24 AM, mdb <[email protected]> wrote:
> OK, thanks
>
> How can I display and write out (to a file) the raw text of
> << headline >>
You can put the << on a separate line from >>, like this:
print('<< %s%s' % (headline,
'>>'))
But that's too ugly. Instead, use g.angleBrackets:
print(g.angleBrackets(headline))
If you want spaces around the headline, do:
print(g.angleBrackets(' %s ' % (headline)))
Edward
--
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.