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

Julian Reschke julian.reschke at gmx.de
Tue Feb 16 10:43:30 PST 2016


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



More information about the rfc-interest mailing list