From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31006 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Hodder Newsgroups: gmane.text.pandoc Subject: Re: djot - a new light markup language Date: Mon, 18 Jul 2022 01:55:17 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1418_604539820.1658134517031" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22640"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCSZD66HWMDRB5V72SLAMGQEKKCTIXA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jul 18 10:55:21 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f184.google.com ([209.85.219.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDMXB-0005kI-Bn for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 18 Jul 2022 10:55:21 +0200 Original-Received: by mail-yb1-f184.google.com with SMTP id o85-20020a25d758000000b0067030a2d403sf1966149ybg.5 for ; Mon, 18 Jul 2022 01:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=W02MtepYc/3N6kR/rOcrT9++RSyJFXWseH1yQem2M6U=; b=Y+mZO03fb6bn5U6YNCwgZA6cHys+OqEY4FzJM3vOpYN/vSN+3mXRiG194WTKwq/Mpc Nj5xpQad450dUz2j0zo8ntfid30XzzUVr73Jh2LaDCULLtlY/5P06KWna+LS8iUmzcBk STST5CGFO8Xbg1S8BWjYdxapvLcSeCdDD8YjwJUf8U5CjezlLBLNcWDqzVtHkND+HkwW 7xizIa2nLuMnjL8KjayTY4/O5WjX/brTIFECDlmk8OfHT3Wsuz3Eb80RsRafbTZiMi7W QWbD9x7I2m7BOHFZEigue/aQsDznAxEKOzymLOQ3mH+9SQlbk/0eyWr2Xxo2TunoQ9uE PLsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=W02MtepYc/3N6kR/rOcrT9++RSyJFXWseH1yQem2M6U=; b=hv4B0xKY8HO861iO4yx0ppnkNncOpdIZfawzMlTMPiVnyzSgqFxufNAV55itYxii6Z rRkK3l7L/5OcJtT0lNVP+g16iggY7YlGoT7sLO6mBJvNOpBwUZ4bo+4AViy/JihxiZnG mR8MFiAM0ddJK+aVLCV/JGDx3BYozueUPDsB4WHFH1yrgGx/2y5wU3E3Z3cMYTT06C5G YdvDGTbX6u9DLMnIe4dXkfSyY18Nw5OaN1rvHpe9vGdBvLr76zddW9y9vD67Wsm//jkb 6r8Ohi0dNJzC5aNxqpCi37/f3NBaKsA0tHhJlJSnJxipXiPcqoH5VuK8m0N+T22ikJgK bMgA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8Ifha869TW3ICTjfqP7y4sQIgiFIVbCxbWL3qW1UkmPeQRIyJN OMP+Fk9XicVCs9eUTAd7pBY= X-Google-Smtp-Source: AGRyM1tg610PCesBI2f3Vxr/bQo3NNlCi/4Mga2qWXYAj9zfyuU3kkJFt9pdJNGU+uhgsCCp4+pMWA== X-Received: by 2002:a81:12d8:0:b0:31c:ab66:4693 with SMTP id 207-20020a8112d8000000b0031cab664693mr29248256yws.452.1658134520410; Mon, 18 Jul 2022 01:55:20 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:690c:8:b0:31c:96fd:de4a with SMTP id bc8-20020a05690c000800b0031c96fdde4als171555ywb.4.-pod-prod-gmail; Mon, 18 Jul 2022 01:55:17 -0700 (PDT) X-Received: by 2002:a81:58c1:0:b0:31d:6b54:3fd5 with SMTP id m184-20020a8158c1000000b0031d6b543fd5mr28997130ywb.7.1658134517605; Mon, 18 Jul 2022 01:55:17 -0700 (PDT) In-Reply-To: X-Original-Sender: phil-jvooPmwWovGx7wk7FZxnQA@public.gmane.org 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:31006 Archived-At: ------=_Part_1418_604539820.1658134517031 Content-Type: multipart/alternative; boundary="----=_Part_1419_790829492.1658134517031" ------=_Part_1419_790829492.1658134517031 Content-Type: text/plain; charset="UTF-8" This is very nice! At the risk of getting ahead of things: 1) Is there scope for adding support for YAML (or equivalent) metadata? 2) Would it be possible to add in support for Lua extensions keyed to code block attributes? For example: ``` =include foo/bar/*.djot ``` would run *include.lua* on the contents of the block, and insert that into the stream. This could work with the various diagramming tools, for example, and maybe even a general *exec* command. Phil On Thursday, 14 July 2022 at 22:57:40 UTC+1 John MacFarlane wrote: > I've been designing a new light markup syntax, based on the ideas in my > essay "Beyond Markdown" (https://johnmacfarlane.net/beyond-markdown.html). > I thought readers of this list might be interested. The language and its > rationale are described here: https://github.com/jgm/djot > > The repository also contains a very fast parser written in pure Lua. A > pandoc custom reader and custom writer are also provided, so you can > convert your favorite formats to and from djot. > > The syntax is briefly described here: > https://djot.net/playground/syntax.html > > You can play with the implementation here: https://djot.net/playground/ > > John > > -- 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 email 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/f6b75a75-ca6c-4fbf-a01c-9697646ef445n%40googlegroups.com. ------=_Part_1419_790829492.1658134517031 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is very nice! At the risk of getting ahead of things:

1)  Is there scope for adding support for YAML (or equivalent) meta= data?

2)  Would it be possible to add in supp= ort for Lua extensions keyed to code block attributes? For example:


``` =3Dinclude

fo= o/bar/*.djot

```
 
would = run include.lua on the contents of the block, and insert that into t= he stream. This could work with the various diagramming tools, for example,= and maybe even a general exec command.

Phi= l

On Thursday, 14 July 2022 at 22:57:40 UTC+1 John MacFarlane wrote:
I've been design= ing a new light markup syntax, based on the ideas in my essay "Beyond Markd= own" (https://johnmacfarlane.net/beyond-markdown.html). I thought reade= rs of this list might be interested. The language and its rationale are de= scribed here: https://github.com/jgm/djo= t

The repository also contains a very fast parser written in pure Lua. A= pandoc custom reader and custom writer are also provided, so you can conve= rt your favorite formats to and from djot.

The syntax is briefly described here: https://djot.net/playground/syntax.html

You can play with the implementation here: https://djot.net/playground/

John

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/f6b75a75-ca6c-4fbf-a01c-9697646ef445n%40googlegroups.= com.
------=_Part_1419_790829492.1658134517031-- ------=_Part_1418_604539820.1658134517031--