From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32044 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: A couple of commonmark_x questions Date: Fri, 20 Jan 2023 10:20:44 +0000 Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009c3ee705f2af67db" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20884"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBCOWVGPAMGQEB6QQOZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 20 11:21:03 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f59.google.com ([209.85.167.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pIoW6-0005Ak-KJ for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Jan 2023 11:21:02 +0100 Original-Received: by mail-lf1-f59.google.com with SMTP id y26-20020a0565123f1a00b004b4b8aabd0csf2284864lfa.16 for ; Fri, 20 Jan 2023 02:21:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674210062; cv=pass; d=google.com; s=arc-20160816; b=C288NqzqahCOT+p0Zb42nWVdPDZlLuHiby1H2EBBx/iPXLkefb8iD4fr0nxRibrvbd Vdhkc+SEmBmVUgTzuemFdE32MQisBTkYVRhdSjwoE6GpOSjeECpwXw45Jg1v+Q3sdUwL LfxiXl6H+WdOxLLA05rmjk3xqOm9p+Vb4Zewe+hWjqGfxMI6awZtsFmtME3o5mQUZSS8 TVQaAhf7eOtv4WPf3iIzeBl2nbEAGOPb/m0iQqyavA7n0Zgi2a/03hlTD2sfJjY/FHcU DahUZZ/pOjI6XZdnsFIQ/nU4wuaZTan3xzN/a9mhd5jFYjE4YeWRkIxLFWSUGnuNCqHT NZ2w== 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:to:subject:message-id:date :from:mime-version:dkim-signature; bh=Nci1yWcRqEl5D+6qkYaClP6ZzyqLDXAwS+cWeu8x5w8=; b=f+fRq3dueapHu8clNzDVI6NMO02f0CY5clw4nEadM2yL5Ic1k77WWwqR9vaN5SjFbD virqp3WS3jU5HuTltkQeyndm0a1mmPe3qBEyuRCu05gu8FSPkKMcfFW4NXoRSr7vCCRe IuNurdBsXey0iA34IfCKKCwnLuAC6vdbtefJ7iv3I6p8M2SxVxCHAnEoaXOnxXIWZUmE o1Ej5DS09SSIsBP9S2sHJysbexDPsAqDJmITVDSJEtz6VoaDOlw6tRHI7eqicSEPyayt LvxwTI0eWzRm2GGVWjHQKTlJPw3Y6Izz33nwIAlUpeQkUVcnaqkaqyHarU8slnpM/ZNA VKYQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=D9wSxxGr; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Nci1yWcRqEl5D+6qkYaClP6ZzyqLDXAwS+cWeu8x5w8=; b=KGqcQ1uGca+oAYUdQ190xAAwFtvK/OJoeM3ma/YzPMJpKneOzt7HetxN5utLHxSDq/ HOyxc5raSmWRDxsMJMCqxv869FoyYr+M3Fy1/4KqPcYEIFCqtPxwffETEaofDMUsj44h 4yxdmwFUiDcMSlu0HRAX4z5SdxSNtuYcX7MMCfucQpGdAsrkGLp4fiD5wLwPUj056fil z4hViI+LQ0GxQTtdFbi7lcnJZFhh/+EnB9+kptQY2IdJA+WU/JwPKoRWorhOxIoKry2l V1l5t1e/ReiBbeuM76wkl+G2gww3otDNh07WcjOJJHFXJJLacRlRxI/nO7t8mY5pPVJb BU1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Nci1yWcRqEl5D+6qkYaClP6ZzyqLDXAwS+cWeu8x5w8=; b=SX1niTrO4r86GACn8EufnoQ1ea4uk5hmjyHrpGhYwdoKgtI7Z6hWm8klYqc8EvI0gg 36jTjl2i4L/g1SkBfG9aN4jMpgPgf7B+eTQ31hKXuWdluRwFyOC2ScZzqk9F6XbYr0NF kBEe04NaJHOneC+jlf76QQf+CL24nYNIVSD4vijwnx/W99Kps0E/IG9n2EQasDZRj3XF G3eo+MR4M0x2S+AUStWnaSO0qa7N72IUu+Ld+82cJi22A3bx+0sPWc+iyJaYH9e1fEth IjENGGZR+ub5FL7xBW67FEOq+VrNwtAJX4DVoBF6WFoNxIsKR/b5bkp7DlX33XiDJdQL XGWw== X-Gm-Message-State: AFqh2kpl5nKHrs+TuGnkb3yVs5nXuQ+emQ1QUq24NHzE0QCBkJjLh1tb lYXy1JfghNnePsklx85ZeSc= X-Google-Smtp-Source: AMrXdXu9L1ajondlwBnU0/JbirDy+i8kZMIuKh4FgUSksjX7BZfnQEq6rK2CKO27EM5DsO/ZfGyrtQ== X-Received: by 2002:ac2:5496:0:b0:4b5:9840:9c78 with SMTP id t22-20020ac25496000000b004b598409c78mr821624lfk.444.1674210061868; Fri, 20 Jan 2023 02:21:01 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:368e:b0:4cf:ff9f:bbfd with SMTP id d14-20020a056512368e00b004cfff9fbbfdls442116lfs.1.-pod-prod-gmail; Fri, 20 Jan 2023 02:20:56 -0800 (PST) X-Received: by 2002:ac2:4c24:0:b0:4d3:f0f2:b9c with SMTP id u4-20020ac24c24000000b004d3f0f20b9cmr3099767lfq.22.1674210056160; Fri, 20 Jan 2023 02:20:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674210056; cv=none; d=google.com; s=arc-20160816; b=LnJpWwUiyCJt0XR+Z6JcfxvKdy7kDCV2psWamQE4H5ipP5DJa+ip0Vt+ujTJ2RRQlQ Zy5+zb1h0E21sGN5UICia4lYsSZIarRcM0mogGTXYm9QI5wrkg2HuZLahrYKGgDe491i VqW4ES66WxeL7HLNQ4NX4D+KkjnQhb3nKKmGvUaM4XaX/0H3vFE1+Yu4lZBqtyHChOm2 l6zXK+IqMK8nvmzU43oNZ7ktHxsxnVkfOUlQNOcz2cOUX2WRcvmXoGWJaGQTz+Ocsvew nrGm7bGlUGKJdPXO0q6Mx7Z75ARGi2lgJUjiRmweKmkWEgi7qMstbD861G7MOrjAuix0 ZpUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=s95dkbCPTEhEvmUZATPwZuyv9E2t/Nea61n9RxWDpiU=; b=l3/0RC8ZkGVtI//zP3qwFd9fGDuu+rXO6GpeCNGOJpxPtbBnBaJBJdfk68Lv4gM4us dpO1hXkOvkox3HG0bYmrlF4ghU8NsobcXHAil54dmLcKzCqTe9Ye1aVDnXZTn7rdkb1S BCytJoOY+NpQocDvv/lB4ZusLIJ6MKG5QmPN/C+eNYwN6jUw0sK4NkNjG3nILix0JgKL 4Xk4BU+B2GMwDBt9aYM6RCk0kwi1urMWH3TKskSlasT/PrSje7oiojU2oOni3T4dG+/7 CC5V7xLRGcYTL48BwPsyVtXuUHfIEKtWGW7B7T7BJWONOUqwrfchnNW1MpLIj3tpE1A4 4lig== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=D9wSxxGr; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com. [2a00:1450:4864:20::52f]) by gmr-mx.google.com with ESMTPS id s5-20020a056512314500b004b59c9b7fbdsi1713082lfi.7.2023.01.20.02.20.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Jan 2023 02:20:55 -0800 (PST) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) client-ip=2a00:1450:4864:20::52f; Original-Received: by mail-ed1-x52f.google.com with SMTP id v10so6148701edi.8 for ; Fri, 20 Jan 2023 02:20:55 -0800 (PST) X-Received: by 2002:aa7:d1c3:0:b0:49a:b8ee:ef4b with SMTP id g3-20020aa7d1c3000000b0049ab8eeef4bmr1327763edp.143.1674210055038; Fri, 20 Jan 2023 02:20:55 -0800 (PST) X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=D9wSxxGr; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:32044 Archived-At: --0000000000009c3ee705f2af67db Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear all, I've been looking into using commonmark_x to process some large files. The parser performance seems to be much better (because less backtracking is required?), plus I like the 'attributes' extension. However, I've found two strange things. The two relevant extensions should be enabled for commonmark_x and I'm wondering whether they are in fact restricted versions (presumably to avoid potential ambiguities). 1. Fenced divs appear not to support trailing colons (as in "::: note :::") https://pandoc.org/try/?params=3D%7B%22text%22%3A%22%23+with+commonmark_= x%2C+this+doesn%27t+work%5Cn%5Cn%3A%3A%3A+note+%3A%3A%3A%5Cn%5CnThis+is+a+n= ote.%5Cn%5Cn%3A%3A%3A%5Cn%5Cn%23+but+this+does%5Cn%5Cn%3A%3A%3A+note%5Cn%5C= nThis+is+a+note.%5Cn%5Cn%3A%3A%3A%22%2C%22to%22%3A%22html5%22%2C%22from%22%= 3A%22commonmark_x%22%2C%22standalone%22%3Afalse%2C%22embed-resources%22%3Af= alse%2C%22table-of-contents%22%3Afalse%2C%22number-sections%22%3Afalse%2C%2= 2citeproc%22%3Afalse%2C%22html-math-method%22%3A%22plain%22%2C%22wrap%22%3A= %22auto%22%2C%22highlight-style%22%3Anull%2C%22files%22%3A%7B%7D%2C%22templ= ate%22%3Anull%7D 2. The fancy list '#.' form appears not to work https://pandoc.org/try/?params=3D%7B%22text%22%3A%22%23.+This%5Cn%23.+do= esn%27t%5Cn%23.+work.%5Cn%5Cn1.+But%5Cn2.+this%5Cn3.+does.%22%2C%22to%22%3A= %22html5%22%2C%22from%22%3A%22commonmark_x%22%2C%22standalone%22%3Afalse%2C= %22embed-resources%22%3Afalse%2C%22table-of-contents%22%3Afalse%2C%22number= -sections%22%3Afalse%2C%22citeproc%22%3Afalse%2C%22html-math-method%22%3A%2= 2plain%22%2C%22wrap%22%3A%22auto%22%2C%22highlight-style%22%3Anull%2C%22fil= es%22%3A%7B%7D%2C%22template%22%3Anull%7D Thanks, William --=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/CAEe_xxi46PO15%2BrvQodwjw447CnSS8uVOPy327gE11nrAux1Vw%40mail= .gmail.com. --0000000000009c3ee705f2af67db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear all,

I've been looking into us= ing commonmark_x to process some large files. The parser performance seems = to be much better (because less backtracking is required?), plus I like the= 'attributes' extension.

However, I've= found two strange things. The two relevant extensions should be enabled fo= r commonmark_x and I'm wondering whether they are in fact restricted ve= rsions (presumably to avoid potential ambiguities).
  1. Fence= d divs appear not to support trailing colons (as in "::: note :::"= ;)

    https://pandoc.org/try/?params=3D%7B%22= text%22%3A%22%23+with+commonmark_x%2C+this+doesn%27t+work%5Cn%5Cn%3A%3A%3A+= note+%3A%3A%3A%5Cn%5CnThis+is+a+note.%5Cn%5Cn%3A%3A%3A%5Cn%5Cn%23+but+this+= does%5Cn%5Cn%3A%3A%3A+note%5Cn%5CnThis+is+a+note.%5Cn%5Cn%3A%3A%3A%22%2C%22= to%22%3A%22html5%22%2C%22from%22%3A%22commonmark_x%22%2C%22standalone%22%3A= false%2C%22embed-resources%22%3Afalse%2C%22table-of-contents%22%3Afalse%2C%= 22number-sections%22%3Afalse%2C%22citeproc%22%3Afalse%2C%22html-math-method= %22%3A%22plain%22%2C%22wrap%22%3A%22auto%22%2C%22highlight-style%22%3Anull%= 2C%22files%22%3A%7B%7D%2C%22template%22%3Anull%7D

  2. The f= ancy list '#.' form appears not to work

    https://pandoc.org/try/?params=3D%7B%22text%= 22%3A%22%23.+This%5Cn%23.+doesn%27t%5Cn%23.+work.%5Cn%5Cn1.+But%5Cn2.+this%= 5Cn3.+does.%22%2C%22to%22%3A%22html5%22%2C%22from%22%3A%22commonmark_x%22%2= C%22standalone%22%3Afalse%2C%22embed-resources%22%3Afalse%2C%22table-of-con= tents%22%3Afalse%2C%22number-sections%22%3Afalse%2C%22citeproc%22%3Afalse%2= C%22html-math-method%22%3A%22plain%22%2C%22wrap%22%3A%22auto%22%2C%22highli= ght-style%22%3Anull%2C%22files%22%3A%7B%7D%2C%22template%22%3Anull%7D
Thanks,
William

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxi46PO15%2BrvQodwjw447CnSS8uVOPy3= 27gE11nrAux1Vw%40mail.gmail.com.
--0000000000009c3ee705f2af67db--