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

Miek Gieben <miek@miek.nl> Fri, 19 February 2021 07:24 UTC

Return-Path: <miek@miek.nl>
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 152A93A1176 for <rfc-markdown@ietfa.amsl.com>; Thu, 18 Feb 2021 23:24:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=miek-nl.20150623.gappssmtp.com
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 htTo4oNeA4Dt for <rfc-markdown@ietfa.amsl.com>; Thu, 18 Feb 2021 23:24:07 -0800 (PST)
Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E1C63A1152 for <rfc-markdown@ietf.org>; Thu, 18 Feb 2021 23:24:06 -0800 (PST)
Received: by mail-ej1-x629.google.com with SMTP id w1so10512508ejf.11 for <rfc-markdown@ietf.org>; Thu, 18 Feb 2021 23:24:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=miek-nl.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=hZrZOIScF/tJBnQUiGDRyT/Dq+zVaS1F2d0kkPGQoJk=; b=cAoS05Omuuh/qHIuT7HRMfHzEpHlX2QdpEcE/npmH+8PbOeSAAzhM+7MVdFVqWdGBj xYIXBd2MsgIUyg52+KHH0AIj4lVnq26w/r+TXJSzvu2hB/a/y/puuzQ9aERJ9P4g22Ga xuY/KLnopiZGUl1hOGs1YQd7iMwfivpPRBa/e85R06oz90L7f7j8V6BSKLkXJYSP4QVe ig1WOn0J8mtWSKUhG+E/3J9aXur7QTioXIdnaR/W3sJd01n5zrwF4jC/ahGV03v9cp6a xokqCKp7j+E24VglzOvirTdvtFr7cSA1a7VcA9cnRvSqQ+Wf9OJle/Yo5XHK9FuDRjgt Ynxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=hZrZOIScF/tJBnQUiGDRyT/Dq+zVaS1F2d0kkPGQoJk=; b=mAvYaxEDcckwQ9G1EYAGhF6d6DrgIWLA/RdvO9WmTNmSdVRhPzxrge/MFNHVaLI++t cekdD5xHslaSDMSfaRapTwO9F7ZF2Yizs8NtbK4Xuz8LVKR/4yDF4i2S/qLBVXIVMyuz PWFiGPogYbnCaxmgx23R66+Igast1GcBj2EVbbAuu629yTRnUgkwnqTz+2srv+6TS80z bVouw57+qohRk5QsMkAog86FbpBCYcssn3mVy/yfiCpi56n3fUP8/OMSg8uCACspvJyL wBLHkQFMv9CTGrU+o/XzUbnxRDD+TMtBDd8TvTTdVTLqym+8bXYDZ2QPf7PNnm9V+dwO mpGg==
X-Gm-Message-State: AOAM532NBMcnZAtqlwm9eo0kAg19GaD2F3mvnwKynnteHv7UDdrZZFAN MlkMmr6x+Qo15h5nL77CSW2HwV2R38D5E/er
X-Google-Smtp-Source: ABdhPJwMjrGbT+sOCy9o/+V7Q9+eHW62D82vnznUydnjmiX1SfVRwwypyUFrmEps1exB+22Nxy/NLQ==
X-Received: by 2002:a17:906:5d0b:: with SMTP id g11mr7489506ejt.542.1613719445061; Thu, 18 Feb 2021 23:24:05 -0800 (PST)
Received: from miek.nl (dhcp-077-251-206-012.chello.nl. [77.251.206.12]) by smtp.gmail.com with ESMTPSA id b6sm3783276ejb.8.2021.02.18.23.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 23:24:04 -0800 (PST)
Date: Fri, 19 Feb 2021 08:24:02 +0100
From: Miek Gieben <miek@miek.nl>
To: Carsten Bormann <cabo@tzi.org>
Cc: rfc-markdown@ietf.org
Message-ID: <20210219072402.GA151175@miek.nl>
Mail-Followup-To: Carsten Bormann <cabo@tzi.org>, rfc-markdown@ietf.org
References: <4E1735EC-A5DD-4201-A6EA-2285D5CC9C21@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <4E1735EC-A5DD-4201-A6EA-2285D5CC9C21@tzi.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-markdown/s6NdV1agXPfC1QFwDCBq_duBnAc>
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 07:24:10 -0000

[ 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.