[Detnet] Including a file in markdown/kramdown

Stewart Bryant <stewart@g3ysx.org.uk> Wed, 25 April 2018 08:23 UTC

Return-Path: <stewart@g3ysx.org.uk>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 523A2127076 for <detnet@ietfa.amsl.com>; Wed, 25 Apr 2018 01:23:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level:
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=g3ysx-org-uk.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 NQQumTHRI2zw for <detnet@ietfa.amsl.com>; Wed, 25 Apr 2018 01:23:47 -0700 (PDT)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 648B7124B0A for <detnet@ietf.org>; Wed, 25 Apr 2018 01:23:46 -0700 (PDT)
Received: by mail-wm0-x233.google.com with SMTP id l16so5248071wmh.2 for <detnet@ietf.org>; Wed, 25 Apr 2018 01:23:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=g3ysx-org-uk.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=SrUIxSBfdyaSm7M+l0EKx6Hx3qwnXAOGblaeroIj/6U=; b=IbD3jM2Gi2+qKboZJsjogYCjKcBVpw7isitHWcM7R3BfsLih8tT7DTZxDDCxjM0nLR UBJoI8pxStiGlOb7Y7xl6rbPox1hi2yJcfEEYuQNqJhVnAGOEGfULPNONfNf4gOE9JJV ch69UEUmvhkGX1XmdFUkimMO5iEc3oz+/+Y2NCbEiTjeP6/xXLrdFSSSaEf6PdqWuof3 4wfoyb1tXOG7vjatYJh0vmb9ZiCMXCUE7TryG1yfBSPJahT7sYbXsBcP1m6w0n4cN6ld xAnvTkxwesG5WXriQmjCdTuTBiYXxXRG41jmAr6cD1u/Vub+TcJbegLEVGugRmIx+NsL /JCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=SrUIxSBfdyaSm7M+l0EKx6Hx3qwnXAOGblaeroIj/6U=; b=pQJ5vd8crhDCIwqAjVG/i12nTld1YJc7i55/eCoDWmZdCEbmrxJnF7tXzICBqpPlo5 oe+7KWNah8ikNlFhkNZyCiZVj4aYBfqmc7KRoJdFOQJIprGqx5kAmfc1Rwa/cjEaPBj4 Q2o7IRT47JWFVALMjGGy/6UHJPzQ8i/dcUGBzn0F052lCYDmTp7gtXJydlYzYpWJXKiw ERSTA1FSrjyFYWYtFaFYyC7d1+HautMjNzCNdtFfp7lSxEf5N2S+vft5PXO4wKx70oYd gvUjGIt/bmv4XnikoYvV9UenLpHaKW7n1Kz1QW1IVIBw1nHci4IN0CLIy8XMO0q/EfeM auoQ==
X-Gm-Message-State: ALQs6tDwQe1Lc9jU27TTZVpMbqW/f1prmVaUSeImDk5vyEf2B8WS/r4T 09K1WsLQpr+g+4xgG3jv1XLtwHOH1O4=
X-Google-Smtp-Source: AIpwx4/ysdaKG2IbwxzT2v9r+/3GaRusRY61hMBv3Pgokah69M2f/QqINrCv+J7uiGZNafnd8wIVMg==
X-Received: by 10.28.6.8 with SMTP id 8mr15534708wmg.39.1524644625145; Wed, 25 Apr 2018 01:23:45 -0700 (PDT)
Received: from [192.168.2.105] (host213-123-124-182.in-addr.btopenworld.com. [213.123.124.182]) by smtp.gmail.com with ESMTPSA id q17sm5693096wmf.3.2018.04.25.01.23.44 for <detnet@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 01:23:44 -0700 (PDT)
To: "detnet@ietf.org" <detnet@ietf.org>
From: Stewart Bryant <stewart@g3ysx.org.uk>
Message-ID: <8447caf2-3fa7-f2b6-15f3-0545263dffc3@g3ysx.org.uk>
Date: Wed, 25 Apr 2018 09:23:43 +0100
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-Transfer-Encoding: 7bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/UVGE5GUsHaBcBO3HODuBMAjYfmg>
Subject: [Detnet] Including a file in markdown/kramdown
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Apr 2018 08:23:49 -0000

There was a question on the call yesterday about how to include a file 
in Kramdown where common text might be needed in two drafts.

The syntax is

{::include ./file.mkd}

Just tested it and it works fine.

- Stewart