[rfc-i] How to indent artwork with surrounding block

julian.reschke at gmx.de (Julian Reschke) Tue, 16 February 2016 18:43 UTC

From: julian.reschke at gmx.de (Julian Reschke)
Date: Tue, 16 Feb 2016 19:43:30 +0100
Subject: [rfc-i] How to indent artwork with surrounding block
In-Reply-To: <4E8C6D55-5A09-4620-BB53-F49F79B57DD7@cisco.com>
References: <76FD8A33-4FE3-4333-8E7C-BE2E274C1D24@cisco.com> <56C236F1.7060200@gmx.de> <36D9BDC4-BDC3-4B8D-AAD1-6965309476FD@cisco.com> <56C2CAD5.9010602@gmx.de> <7584199C-1AB7-40B2-9671-C0CE0FC36676@vpnc.org> <56C35BE7.6020105@alum.mit.edu> <56C35FEC.3080008@gmx.de> <4E8C6D55-5A09-4620-BB53-F49F79B57DD7@cisco.com>
Message-ID: <56C36DD2.3050900@gmx.de>

On 2016-02-16 19:15, Joe Hildebrand (jhildebr) wrote:
> I'm ok with <example>.  Does it take most of the <sourcecode> attributes?  If so, what does example/@type mean?

In my use cases, examples can have media types (such as 
<http://greenbytes.de/tech/webdav/rfc7230.html#internet.media.type.http>), 
and I use that as styling hint.

> What happens when it's in a <figure>?  Do the figures get named "Example 1"?

The answer should be similar as for <sourcecode>, no?

> We'll probably need a couple of prep steps.
>
> I'll need to add a section to the HTML draft, saying that it goes in a <pre> with class "example", and I'll need to add it to the list of elements that the pretty-printer doesn't whitespace fold.
>
> Did I miss anything?  I'll prototype this tomorrow, probably.

Best regards, Julian