Re: [Rfc-markdown] 1.3.34: map most codeblock classes to <sourcecode> instead of <artwork>

Julian Reschke <julian.reschke@gmx.de> Fri, 19 February 2021 08:06 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: rfc-markdown@ietfa.amsl.com
Delivered-To: rfc-markdown@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E14C3A11E0 for <rfc-markdown@ietfa.amsl.com>; Fri, 19 Feb 2021 00:06:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JVlSAKDxaTka for <rfc-markdown@ietfa.amsl.com>; Fri, 19 Feb 2021 00:06:33 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 764A13A11D0 for <rfc-markdown@ietf.org>; Fri, 19 Feb 2021 00:06:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613721988; bh=TZPscIQjReyUmBjxVIzFXS5zVJvD8I2gUHZ8uIAleDA=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=PYzxvM/Xdt3P8z93axyjVnaYF6DMV2tbqQ159qM169m1dIh6/e4BtMMmEM6T5scbb vcoLyYxQYljne9kcug2SAShn/LPHXR+p7+SPsk9Tz7p9/QQ66dXfSfASva9+gG8Gfu ToXvyp6FxQltr2V9C/HXOaxbSjO1iA2/Y2/9VIjY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.20] ([84.171.158.62]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MiaY9-1looGi3HE7-00fkCR for <rfc-markdown@ietf.org>; Fri, 19 Feb 2021 09:06:27 +0100
To: rfc-markdown@ietf.org
References: <4E1735EC-A5DD-4201-A6EA-2285D5CC9C21@tzi.org> <20210219072402.GA151175@miek.nl>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <77684aa0-dcdb-fc38-8d31-86f2f5ae2ede@gmx.de>
Date: Fri, 19 Feb 2021 09:06:24 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1
MIME-Version: 1.0
In-Reply-To: <20210219072402.GA151175@miek.nl>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:fOQpNewRlU87/+waP8gAFUG/KEmZi/aK/WlyQmxCSEByHwYiQIX y3DlKM3xwBnU21Q9KFZ6XzByEULFO5gWgsruo9vJcYCXegTZBkxUbc4kx4/pMwzjC4/e80D Xuj9LTUp+bMWEts0H1T2eCLw4vuYCQWtzWkttEwJy397yAeXpYm+ytqFuMSxdN/hS+IQecA 6JrppVYTxeML1P1CPTGaw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:p4KY8ekkH58=:m2/OfgVKW/sVwgB9pejaii Mzl1JTa3trKXh47a5WFrGMxKFXgbuWpvfnRmIXo5sWsksWfM59yBPEucTM8A9Ot8fpPYMikgH kB3Uv28aeUww6f4LaGwpDe+PilAd2cuuq+Zz85k8GHhEMJLD/30Fl2/ZbG9iFI0KxQxpOUs+e Ym3foaDRq2NWgRqfM8zQdIbGZZMmWRxKK0yMRKnHkKF6XKAf+hmbmNa64hKv749QLgkHMPN2F eGNP3oHLfpYv4nWKwMDc32vG3ad/9up6h/E1qTyAQlk+tHxwMuxgoCoHzSYNCbrJo8GaFqzx3 cbpTVlsuJxLXYATYwb6OX+xl7zrusk5BwlEqpbNQwHTBZ6xWR8S0rxzDmUK4dn/lIrZXB+7qi Zz2pxy6cHXAhXCzj+bks9yzHjAXuqSpfwRbmybDT01OKkWU93FnNeoliMCKOl18lFqq+0x/iZ Y1geXoMojWhmEbQ7aGKX5klMJzEQGMQe+BWd7QuPaRI8XdVtpSgrt2lRHMH6xCv3qPkplrzvp Pxn6piTrt0vMv9Jf1cyJFA1EeVZEjHqmD3lYWHXLDtMuf4tRgrq+doPkw5awGID0/UWcRd1hy n08b+V7f2EaBbt34RhdY7BNwhIgrEmCGBpJ+3YxgLTpz8SROB442JjshIaUraHppZ3JEoLrc5 TwN0qmz96q6gIxdnciEbDmr/W/mzfxU3KaQbrWNf1i7tUob55sfWd5JMdyUejvCgALX5JkW4o uIAIRBCOg51CXGiJtkbjsAy3O7238QrisBVsPhek5lEd4XktROVHADaDjB1Nd9kABJSKSSlon vEdG1340Em+UbbTTdvMDcnh7sVdN8ilQ7WbenEC5DkuG1JW+TgwxXSgqDhR/qJdaKLIAlBEfd Y7mWZC/CjTxR5EHp21xw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/OTuEg2VrCZXF16q1t9BKV2Zq3cE>
Subject: Re: [Rfc-markdown] 1.3.34: map most codeblock classes to <sourcecode> instead of <artwork>
X-BeenThere: rfc-markdown@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "rfc-markdown is a discussion list for people writing I-Ds and RFCs in Markdown and the authors of the tools used for that." <rfc-markdown.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-markdown/>
List-Post: <mailto:rfc-markdown@ietf.org>
List-Help: <mailto:rfc-markdown-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rfc-markdown>, <mailto:rfc-markdown-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Feb 2021 08:06:34 -0000

Am 19.02.2021 um 08:24 schrieb Miek Gieben:
> [ Quoting <cabo@tzi.org> in "[Rfc-markdown] 1.3.34: map most cod..." ]
>> So
>>
>> ~~~
>> /\
>> \/
>> ~~~
>>
>> still turns into <artwork>, while
>>
>> ~~~ c
>> int dezigzag(unsigned int i) {return (i>>1) ^ -(i&1)}
>> ~~~
>>
>> turns into <sourcecode> (with type="c").
>
> Note that mmark does exactly the same.
>
> Regarding your other email on the alignment of artwork vs sourcecode, I
> think that must
> be fixed in the schema, rather than working around it from our side.
> ...

FWIW, I'm not sure what the use case for not left-aligning source code is?

Slightly related to this: it seems we need to come up with
recommendations about what is artwork and what is sourcecode. For
instance, in the HTTP specs, is a HTTP message example (or a header
field example) artwork or sourcecode?

Best regards, Julian