It's better when it's simple

User Tools

Site Tools


PrettyTables Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Toolbar button that fixes the source code of a table by aligning the columns

Last updated on

Tagged with button, tables, toolbar


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


  1. Select the table you want to fix.
  2. Click on the button

To manage alignments:

  • Put min. 2 spaces in front AND after the cell value, it gets centered
  • Put less than 2 spaces in front, it gets left aligned
  • Put less than 2 spaces after the value, it gets right aligned

Bug Reporting

Please use GitHub's bug tracker or drop me an email.


Original Table

^ Year ^ Location|
| 2004| Athens, Greece|
| 2008| Beijing, China|
| 2012| London, United Kingdom  |
| 2016| Rio de Janeiro, Brazil|

Fixed Table

^  Year  ^         Location         |
|  2004  |      Athens, Greece      |
|  2008  |      Beijing, China      |
|  2012  |  London, United Kingdom  |
|  2016  |  Rio de Janeiro, Brazil  |


  • Does it keep the header cells (the ones that start with “^”) intact?
    Yes, the plugin will maintain that properly.
  • Does it support left, center, right alignments?
    Yes, thanks to janosh who added that feature!
  • Sometimes it seems to be not working. Do i have to reformatting the table manually?
plugin/prettytables.txt · Last modified: 2020-08-09 17:34 by hillschmidt