[abnf-discuss] ABNF syntax highlighting in rfc2629.xslt

Julian Reschke <julian.reschke@gmx.de> Wed, 16 May 2018 13:14 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 79528126579 for <abnf-discuss@ietfa.amsl.com>; Wed, 16 May 2018 06:14:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 CIn8zgE9K-wN for <abnf-discuss@ietfa.amsl.com>; Wed, 16 May 2018 06:14:02 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 941351242F5 for <abnf-discuss@ietf.org>; Wed, 16 May 2018 06:14:01 -0700 (PDT)
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Mc8Pz-1f181B2VWR-00JY3n for <abnf-discuss@ietf.org>; Wed, 16 May 2018 15:13:58 +0200
To: "abnf-discuss@ietf.org" <abnf-discuss@ietf.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <a290baa2-9a8a-9ede-b498-e3bc86411d9d@gmx.de>
Date: Wed, 16 May 2018 15:13:57 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:POIqqJBHLkYpM6EvMHyXvejR/k/r8OomsR5YaH0b4QB+HvZHk+T ZSuAv6XqbDTVnxPX+NW6fUy7WdNwnbEkOdUo8HfSRjs2RzubQLlRqWAjR7J1btGe/lgVaLA FWHNsMcqLUexqrJp3ZX7mZyYegxQqmJBoZERWK463JtVimnM1Jd7rz12F8YrUht5LMP4MPq 762QMh9290syX+9uQWBMw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:TyaY15D91z0=:B7e8L3X0j/rCEMHHrSiLVB U9CuiUdoZVzY4s+zPtPRE/hHvhkq/VumbYGry4WFXphCmHSlJhBFvK1jCa2QeNOjdmC5zka+Y m3e6qAMj6mvcwI+uiOh9e7gF/rN3+LPF1GHC+Nqrs07EY3TmjXP2Hf7ZTor32kpQhDRD3iNcp rxMNHnUtzzBD4C0HvHIsg3gOfXEL3s3iVq82WD/tOn1NHZRn+M/qOhkVw4p/HVGdedGOFaMRo uZ9CV8Aj0w61eY0r5Vbi9fb3boQnGLRw1+Ag1Om+P0DWETpVTPzt8ywCSaWE54qjaqpgyYnqT PYlymfGfKSnzl/qw1wJStDhwB9YhXGS1tqhzP/9RNK15ftO6mziN69Ee3kDGad+Wa/jGTU7SP fccFVmyritWnQrmvsbY7qc6RFYwxFvKyTR0JI2VsKSo51kRooj/dNnTxK+u0ukio6GttT/F/E DA8vkFRNn8PN0SXANfyEr06UlqN7W1621kuHvuuN5Aq3Px+Ri2b6OABTiCP75+uyDcZXYrcTt JPHw/0wrNFCNsR1KmU+0bWfCU/bvh94GP04jnqYw9eHsFtKpFUjU7elri/jUuC1PnkBbaohw/ Hc3kJTAFS8eRXH4xEnMThK0BB3s6sl1SDsDiwBAkkYI2CRn1Iaj+Qqpll56O6L8bpUuIybl1x iJ3b0tijARupH/yi2qHGW9ppAdjggpFXFbTe/0MosDvnl/9C1wjxX8Mt3S54DTs0qn3elxYla c5ksevePDZlpWvkSNmN87TbU0V68NLLPs3SYC5CFW0yUmXZHE35MxvOckwaXdCEFbo/r24m3x yO8MJ+z
Archived-At: <https://mailarchive.ietf.org/arch/msg/abnf-discuss/4CYT7G_CWVnbSi6iENbp6VmYjbQ>
Subject: [abnf-discuss] ABNF syntax highlighting in rfc2629.xslt
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "General discussion about tools, activities and capabilities involving the ABNF meta-language" <abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/abnf-discuss/>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 May 2018 13:14:08 -0000

FYI: I recently added support for ABNF syntax highlighting to my xml2rfc 
formatter.

Example output:

   <https://greenbytes.de/tech/webdav/rfc5234.html#rfc.section.4>

This uses Google's "prettify", with an extension for IETF ABNF 
(<https://github.com/google/code-prettify/pull/542>).

Feedback appreciated.

Best regards, Julian