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

Carsten Bormann <> Mon, 22 February 2021 00:38 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id EA7F93A08C5; Sun, 21 Feb 2021 16:38:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 2DxDe7GmkUPY; Sun, 21 Feb 2021 16:38:26 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id A706F3A08C0; Sun, 21 Feb 2021 16:38:23 -0800 (PST)
Received: from [] ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPSA id 4DkNZh0qp8zyhT; Mon, 22 Feb 2021 01:38:20 +0100 (CET)
Content-Type: multipart/alternative; boundary="Apple-Mail=_44A0C4B6-DA27-49D7-82A3-EFC7840B498F"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.\))
From: Carsten Bormann <>
In-Reply-To: <>
Date: Mon, 22 Feb 2021 01:38:19 +0100
Cc: Julian Reschke <>,, RFC Interest Group <>
Message-Id: <>
References: <> <> <> <> <> <>
To: Jay Daley <>
X-Mailer: Apple Mail (2.3654.
Archived-At: <>
Subject: Re: [Rfc-markdown] 1.3.34: map most codeblock classes to <sourcecode> instead of <artwork>
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." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 22 Feb 2021 00:38:29 -0000

>> Sorry, my intent here is probably better visible in the current editor’s version:
>> <>
> I’m not sure I understand - do you mean that you want it indented to show that you are quoting the ABNF or do mean that you want a different alignment.  I ask because I can’t see a different alignment.

I was essentially trying to separate the ABNF quoted for reference from the ABNF that is part of this specification.
As you can see, this doesn’t work very well in the HTML (better for figure 1, where it is obvious this is centred, than for figure 4).
The distinction is much easier to see in the plaintext, where aside/blockquote get much stronger visual support.

So this may not be the perfect example, but it was a case where I was trying to center source code.

My criticism of the current grammar is that there are lots of arbitrary differences between different contexts in which things can be used, and these arbitrary differences seem to be driven by the combination of (1) a desire to enforce a weird perception of “good style” with (2) a lack of imagination.  Much less of this would probably have happened if the grammar had been properly factorized.  The grammar style to repeat everything everywhere seems to suggest one should endlessly tweak any single one of the clones so they are all subtly different, leading to the current jungle.

CCing rfc-interest, because this is a problem not with, but for writing IETF documents in markdown.

Grüße, Carsten