CVS commit: wikisrc/tutorials

Taylor R Campbell <[email protected]> Sun, 19 Jul 2026 01:24:44 +0000
Newsgroups gmane.os.netbsd.devel.www.cvs
Message-ID <[email protected]>
Module Name:	wikisrc
Committed By:	riastradh
Date:		Sun Jul 19 01:24:44 UTC 2026

Modified Files:
	wikisrc/tutorials: kerberos_client.mdwn kerberos_realm.mdwn
	    kerberos_services.mdwn

Log Message:
tutorials/kerberos_*: Fix some more indentation oddities.

It appears that, _for lines with leading spaces_ in template text,
the markdown parser strips the current indentation level from them.
For example, in:

> 1. foo bar
>
>    [[!template id="filecontent" file="/etc/foo.conf" text="""
> [section]
>         foo = bar
> """]]

The indented line with eight spaces of indentation is rendered with
only five, because the current indentation level in the surrounding
text has three-space indentation.

So, _for lines with leading spaces_, add as much space as the current
indentation level has.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 wikisrc/tutorials/kerberos_client.mdwn
cvs rdiff -u -r1.8 -r1.9 wikisrc/tutorials/kerberos_realm.mdwn \
    wikisrc/tutorials/kerberos_services.mdwn

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.