From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31010 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: djot - a new light markup language Date: Mon, 18 Jul 2022 18:08:07 +0200 Message-ID: <92CF0240-8135-414E-8E34-4121AC71A9A8@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20148"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBB24K22LAMGQETX4YKHQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jul 18 18:08:15 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ua1-f60.google.com ([209.85.222.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDTI7-000575-7n for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 18 Jul 2022 18:08:15 +0200 Original-Received: by mail-ua1-f60.google.com with SMTP id b2-20020ab05f82000000b003826734f585sf5752480uaj.2 for ; Mon, 18 Jul 2022 09:08:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658160494; cv=pass; d=google.com; s=arc-20160816; b=gd/f3GMjOsQhhdDun7j+2Ahvb9PtpbQhaVHlb9N3Mw0ea5F24fanC/Xqq5nUVk4OAY 1FdwgRkMclV8c4PrARz9ZS2mcRqmlbaBfjg3z38IcpGpo6PPQ6u94yaSVvmCCW07EHQs +buDoNK/aaGapq0wuLjckH+JPN1E4+Ir2goa72YbxZCDM+CBgn7SLKXGr4mIbdutphYB 1hD5J5XBFm/+62EqJZD2Mz7+Gcdjzfs/UfSVCI7SVksg1XYER3OrbLoVc/JEfd/IEDzY OF5Gf8qJ1ke09ZsPN4pkqCGX5Heg5+hWSq+4hM+xV7t1QvzsouHrMW/jWV3h6qbdymAK ieBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=ErKteFo8t5Bm5ih2YgRpgnpjHDbt1vgMHWpOh4qD8MY=; b=sFInwyiWL0utincHuieMH73GFxKtySVEjKnlbks+EhbGUVove7nFifkfXhgUaYiW9a u9MlnDEJf/2GYvFT8YPreugjgl4CFzuuV2VNkAmpsJdTzUU7SvpbaKb9mFUdy50RKwUl 3pomSxYHnxO67RqzeUnWQe2Jgj+VTNrKsCK5zeX1U10ucYfx5Y4S7dDFOZJPHNcd7JM8 B/AgpsZ0iJU/GpFj7ymUP1yK28ifOS+ZMfTTWB7koXe3KrCPmnzQpD4dHin5jMp8BTJB 7uUAxcgNAAc4DOQL+lmMglnEjjdKIYYHahTVIzgZivTz2Kc6L4RK+JMawbExZdsbiG51 lqxg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eCpvQxIZ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:content-transfer-encoding:mime-version:subject:date :references:to:in-reply-to:message-id:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ErKteFo8t5Bm5ih2YgRpgnpjHDbt1vgMHWpOh4qD8MY=; b=YXUNrSoHdaX25aNOrQrI5q5SIpkjyqreX+/2DVyleslXsAtBNPHzO87hVH7fRU+/// boMvViyu2thrF678omrjlriffhin5Cdge5PBuCjrgTkwOZWTFEfoXrqdJyA9uWQrOds2 yG0c8mSVDiIW7oRa/glaFxUSHyUDwAHMdFXZoIurPlqW5PIPH+T5KA9vi0HT1zy0hNWK 90uQACWrGXCiKGNyXEFGiD8am9Hu2NPk870sC8+V+PLBBlAd3ZPYvAd13A/LF/SjLvcT TXrknpOYNTBIRR1+f74oFTFfjGkozAaAyiQWHdKVu4BSoRgVjRTGIZZPe6hgY9MzIbR/ kdtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ErKteFo8t5Bm5ih2YgRpgnpjHDbt1vgMHWpOh4qD8MY=; b=FFKQDe/arZGKSBBzX6U6SX3I83l40jJXirEGeTzQOXtejHlErcjqAounv/+GXXIDpg EXrfu3GCOSsmIhtpkm+On5yHBXl6PPRFfbBjzmt31QSv/yml9U2cwv9Td/wTdQmVU4bw kzKXHxbvqc30eK92wuqAlQGRgWo6r/DWBYA4sD7OMfFwhPst8vwRdxOz+rSGidPwKpn1 DHDn4UT+grM/1PBo/UGRDw9XmY8K4Fb8DikGk9zmJkwKTDYMnccyXz0QfnKE+EA8Spc5 suFI1njcWCBES+OM/lN/ahsyLS/JwTLoKVz4Y6xeuVJatjnD/mIccUlYXu1HCnoQphxC RsHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=ErKteFo8t5Bm5ih2YgRpgnpjHDbt1vgMHWpOh4qD8MY=; b=IfYEHxftXGsWPDu3gHP2vsQFotWmIyAkROOwp/3ZBU/nE0qA7vzX2JsDMbC9nN31qY lQWyYj36kX381cx/oqtJnPOPsLZ9ZGRy0OrDg68j0L2TUsxVQ+TIwVQt1FVNJzC0nNEX 1w/gN3KHOEP1loYI50gncIaTR3BfejXIZb5IrwBpdqUZDN16yIl/3rWGeuUxdcR1fVfN MpESWVvqigER1AJv87oBMgqE9eQnPr2BzUAVc6GDKFTHKAp29AcMkbx4tnp/fZ610GOy VOb6AhQOucMvqPKHzXkhZ5UvGG0iDb7sg71KEPaVkrHOS8Qus1XUW3amBhDSvzz0H9as Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8wPwkfzgvGj7MuUjh+9Ap3NOwlrw9E8DnxwbxNSSIL9AYeGmzL sNty4IHFcdz6fuHHUdxHzio= X-Google-Smtp-Source: AGRyM1sjfpJtybA1T4jAq977uQbqDYhgMb7MPaVNlvdUNX+FOWnS9QRYi+Pu6FIqbGljPfe4Eo6k2Q== X-Received: by 2002:a1f:7ccd:0:b0:374:542b:9bcf with SMTP id x196-20020a1f7ccd000000b00374542b9bcfmr9702018vkc.34.1658160494104; Mon, 18 Jul 2022 09:08:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a67:dd02:0:b0:357:655:94fd with SMTP id y2-20020a67dd02000000b00357065594fdls449290vsj.9.-pod-prod-gmail; Mon, 18 Jul 2022 09:08:11 -0700 (PDT) X-Received: by 2002:a67:1a45:0:b0:356:2063:d978 with SMTP id a66-20020a671a45000000b003562063d978mr10377448vsa.41.1658160491435; Mon, 18 Jul 2022 09:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658160491; cv=none; d=google.com; s=arc-20160816; b=U8fpHDtWSJjp+njYb+vvxwIgsPFFiWCgqf8BnqirS8uIM86v/KziZN5DA0UOEVMulO 7/vwl8HDyEzB4CyvW1W+7inbzcp37VKppzTG8TfOhx0aei9wN9pRWauI8bDmAMXQGTMa 6A2Iz8PImtnckTjIyw9lPgFTLyZUL+Gqc/yofhDXuxw+D4OEpOJuhIytXUILb/sbO6ks 5QmoUUrZpWfrufU0ea1F+6dP6l+ZO3xnOgoikyVUwFUHJBZ2MVVT0cC/xJC1mPJkuatQ +vAcUTs0akjd5OTv1WpKrcqSzUuL+n5viFnVyp9nSA27lZ6JDnoyPUBJ+EwJVQ3TU2Zo uUsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=m2Nrx/ucBSrI4yRq4gzMhyF8AiAkkK+Qx/H8yhojjUk=; b=EsSt8pN5zYzUAYg7YSgq6E5+ox9yOkN9M3wjk54s1DPi2Kg8WCzPYJNwbfrd5DkrcV uZdYRZc2Cssq025ZnNZwtOcc5EvbXVAcMD7TSguJKJXYCeHyLmlVJTp9CnE34/RYnzBb J05Cykf54BcvkLhmk03opFsiM83C7P/0yas9EQ7ComGyaFEviPyIaO8e1PPxosux4uq+ +ZUokskwxMLkgfVh2fKzAcs2hfL4dM1pT7bbykqXwwzrqiCgHA8GxtgpaLQw0AE/3tyV ddX58iP/vk39bzqT0hbBDMMRHfR1ahVoYvIZd2NuXiNohPe5OWEWHXg8wsfheHegPn63 +qqw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eCpvQxIZ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com. [2607:f8b0:4864:20::631]) by gmr-mx.google.com with ESMTPS id f81-20020a1f9c54000000b0037467483219si506138vke.0.2022.07.18.09.08.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jul 2022 09:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) client-ip=2607:f8b0:4864:20::631; Original-Received: by mail-pl1-x631.google.com with SMTP id j12so9438635plj.8 for ; Mon, 18 Jul 2022 09:08:11 -0700 (PDT) X-Received: by 2002:a17:902:7042:b0:16c:e3d6:7029 with SMTP id h2-20020a170902704200b0016ce3d67029mr10736401plt.115.1658160490541; Mon, 18 Jul 2022 09:08:10 -0700 (PDT) Original-Received: from smtpclient.apple ([2607:f140:800:1::407]) by smtp.gmail.com with ESMTPSA id 125-20020a620483000000b00528c4c770c5sm9471645pfe.77.2022.07.18.09.08.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2022 09:08:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eCpvQxIZ; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31010 Archived-At: > On Jul 18, 2022, at 10:55 AM, Philip Hodder wrote: >=20 > This is very nice! At the risk of getting ahead of things: >=20 > 1) Is there scope for adding support for YAML (or equivalent) metadata? I'm not inclined to make YAML metadata a first-class syntactic element as i= t is in pandoc (where it can occur anywhere in the document, and can use re= ference links defined in the document's body). Instead, a document process= or can decide to handle some front matter; contents of the fields could be = parsed as djot, but would be treated as independent documents and parsed se= parately from the rest. Not really sure. If I did include something as st= andard syntax, I'd be inclined not to make it YAML, which is too complicate= d, but maybe a YAML subset. > 2) Would it be possible to add in support for Lua extensions keyed to co= de block attributes? For example: >=20 >=20 > ``` =3Dinclude >=20 > foo/bar/*.djot >=20 > ``` You could handle this as in pandoc, with the attribute system we already ha= ve. For exmaple, {include=3D"foo/bar/*.djot"} ``` ``` would define a code block with an 'include' attribute. Your Lua filter cou= ld then look for code blocks with 'include' attributes and do whatever with= them. I'm not inclined to build the concept of Lua filters directly into the mark= up language. Instead, the markup language allows you to add attributes to w= hich filters can be sensitive. That's an approach that has worked well, I = think, with pandoc. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/92CF0240-8135-414E-8E34-4121AC71A9A8%40gmail.com.