No need for a spreadsheet, BBEdit has a line numbering command :]

1. create document with 250 blank lines
2. Text > Add/Remove Line Numbers.  Don’t add spaces or justify — we just want 
a plain number
3. Do a Grep search for an entire line:
^.*$
Replace with the example HTML below verbatim, except substitute & for the 3 
digits:
<figure>\n<img src="images/eq/&.jpeg" width="100%" />\n</figure>\n
4. profit


> On 2021-12-07, at 08:57, Arasmus <[email protected]> wrote:
> 
> Perhaps the easiest way would be to use a spreadsheet to generate the 
> sequence of numbers from 1-250..paste the numbers into an empty text 
> file..search and replace each of the numbers with the figure code.
> 
> On Monday, December 6, 2021 at 7:32:53 AM UTC-8 Maciek Schejbal wrote:
> Hullo BBEdits!
> 
> I have 250 images to be shown in the slide show. After I copy the paths, 
> would anybody have a way to automate BBEdit to continue numbering the 
> following sequence?
> 
> Many thanks,
> Maciek
> 
> <figure>
> <img src="images/eq/001.jpeg" width="100%" />
> </figure>
> <figure>
> <img src="images/eq/002.jpeg" width="100%" />
> </figure>
> 
> etc...

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/70E39B25-6DDE-42E0-B88C-095A60A36C65%40gmail.com.

Reply via email to