User Tools

Site Tools


Sidebar

Index

software:dokuwiki-tab-indentation

Dokuwiki tab indentation

Do you think tab indentation gives more freedom and consumes less space on HD? Do you hate to spend time converting tabs to space indentation for publishing on your dokuwiki?

Easy peasy! If you use the default theme, open

lib/tpl/dokuwiki/css/basic.css

(if you don't see basic.css edit basic.less)

and write down

pre { -moz-tab-size: 3; -o-tab-size: 3; tab-size: 3; } /* riksoft.it */

I did that on the top of the css file, just after the docblock, adding my comment (riksoft.it) so I can remember that is a customization.

Adding this kind of “bookmark” lets you retrieve all the customizations with a simple grep command on the dokuwiki dir or using the search function of your preferred editor/IDE (e.g. Eclipse). This is very helpful when you have to install a new version of dokuwiki.

software/dokuwiki-tab-indentation.txt · Last modified: 2014/09/03 16:20 by rik