View Single Post
Old 08-05-2013, 10:34 AM   #21
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,312
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by phossler View Post
It'd be nice if Sigil had a 'Table Wizard' to use as a starting point where you could specify the number of rows and columns, then enter the text into a Sigil grid. Let Sigil do the hard work of making the tags and the basic structure for us to customize and polish

Paul
If you use the "Mark Selected Text" (from Search menu) to highlight the data in each table, then you can use search and replace to quickly format your table with the proper <td><tr> stuff...your reg-fu might be stretched a little, but it is certainly doable and just might be less work than transferring to an online table generator. (I'm not sure - never used online generator).

some possible s/r:
search:<p>
replace:<tr><td>

search:</p>
replace:</td></tr>

Cheers!

[edit]
You can use a clip (clip editor) to put your table tags around the higlighted lines:
Table: <table>\1</table>

then do the search all in one:
search:</p>\s*<p>
replace:</td></tr>\n<tr><td>

Last edited by Turtle91; 08-05-2013 at 10:48 AM.
Turtle91 is offline   Reply With Quote