commit: c7e61fd606da3951e427c3c4931d2fb96e391738 Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> AuthorDate: Wed Nov 8 18:11:26 2017 +0000 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> CommitDate: Wed Jan 3 05:17:20 2018 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c7e61fd6
CSS: let tabs in code blocks render as 4 positions Per devmanual, in ebuild files only tabs must be used for indentation, and each tab represents four spaces. However, many snippets of ebuild code in devmanual use spaces for indentation, making these snippets not immediately usable for pasting. Snippets indented with tabs, while technically conformant, look the wrong way. This change makes tabs-indented snippets look right, making it more attractive for contributors to use tabs for indentation, and paving the road for potential conversion of spaces-indented snippets to tabs. Acked-by: Gokturk Yuksek <gokturk <AT> gentoo.org> devmanual.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devmanual.css b/devmanual.css index 6f24642..1507558 100644 --- a/devmanual.css +++ b/devmanual.css @@ -154,6 +154,9 @@ div.figure, div.figure p { code, pre, tt { font-family: monospace; + tab-size: 4; + -o-tab-size: 4; + -moz-tab-size: 4; } blockquote.epigraph p {