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 at the end of the file add (actually it also works when added at the beginning of the file because there isn't any tab value already set in the css).
pre, textarea{-moz-tab-size:3; -o-tab-size:3; tab-size:3} /* riksoft.it */
The comment is useful to highlight the customization and find it in the future.
Adding such a kind of “bookmark” (/* riksoft.it */) let me retrieve all the customizations with a simple grep -r command on the dokuwiki dir.
software/dokuwiki-tab-indentation.txt · Last modified: 2024/01/16 19:26 by rik