Well, maybe also in vim etc., but it's so easy in Leo...

I want to insert a bunch of images into an rst doc.  So I type:

for i in range(13): c.p.b += "\n.. image:: etdemo%04d.png\n   :width: 
80%%\n"%(i+1)
c.redraw()

select those two lines, Ctrl-B, and now my node contains:

.. image:: etdemo0001.png
   :width: 80%

.. image:: etdemo0002.png
   :width: 80%

.. image:: etdemo0003.png
   :width: 80%

...

ready for me to add captions.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to