[rfc-i] sourcecode indentation

julian.reschke at gmx.de (Julian Reschke) Sat, 13 February 2016 08:40 UTC

From: julian.reschke at gmx.de (Julian Reschke)
Date: Sat, 13 Feb 2016 09:40:21 +0100
Subject: [rfc-i] sourcecode indentation
In-Reply-To: <9D7378E9-C0B2-47B6-843E-1F3C8BCC8531@cisco.com>
References: <9D7378E9-C0B2-47B6-843E-1F3C8BCC8531@cisco.com>
Message-ID: <56BEEBF5.6010607@gmx.de>

On 2016-02-12 21:31, Joe Hildebrand (jhildebr) wrote:
> After talking with Tony Hansen, I have an approach for sourcecode indentation that I think might work.  I'm not sold on whether the usefulness of this approach is worth the complexity it imparts, so if you think this is an important use case, please speak up.
>
> Remember, the new-in-v3 <sourcecode> element indents relative to its enclosing block, not relative to the left side of the page like <artwork>.
> ...

...which reminds me about the fact that there are things other than 
<sourcecode> that require a mono-spaced font / no formatting, but should 
be indented like the surrounding text, namely examples. What do we do 
with those?

(and yes, I believe the indent attribute goes into the right direction)

Best regards, Julian