[dokuwiki] Re: Entering table data - any 'helpers' available?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 14 Oct 2011 17:30:55 +0100

On Fri, Oct 14, 2011 at 06:05:17PM +0200, Rick Farris wrote:
> Hi Chris.
> 
> You can already do that if you like.  The white space before and after the 
> "|" characters does control alignment, but you can easily use more or less of 
> it than is required on either side or both of the text you are trying to 
> left-, right-, or center.
> 
> For example, left justified table cells (and centered columns) on the next 
> two blocks are equivalent:
> 
> ^ Column Number One ^ Column Number Two ^
> | Value 1  | Value 2  |
> 
> 
> ^ Column Number One ^ Column Number Two ^
> | Value 1                        | Value 2                        |
> 
> Try it in your "playground" to see what I  mean.
> 
Yes, I know I can align things using spaces but in your example above I
have to actually enter all those spaces between "Value 1" and the "|" at
the end of the column.  I'm looking for a shortcut key to take me there
with one keystroke.

Ideally the ^ characters would 'set TAB' and then hitting some key code
would automatically space to the next column.  Even better it could
enter the | as well.

Thus I enter:-

^       Col 1   ^       Col 2   ^

Then for the data rows I can hit (say) CTRL-T and the correct number of
spaces and a | character are output to take me to the next column.

-- 
Chris Green
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: