On 10/24/2013 3:03 PM, Terry Brown wrote:
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

It's the little things like this that make a huuuuge impact on workflow.

-->Jake

--
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
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