From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31016 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A Newsgroups: gmane.text.pandoc Subject: Re: Some code formatting for code block attributes in pandoc's markdown.... Date: Mon, 18 Jul 2022 20:09:04 +0200 Message-ID: References: <4d799efa-fe25-c4cb-c542-e18278f8415c@gmail.com> <47D489F7-4FC9-444A-901B-A42FE3AB3A6A@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000c759505e41844ca" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24926"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ77HUDRUCBBTGD22LAMGQEQ3HOOGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jul 18 20:09:20 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f56.google.com ([209.85.161.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDVBH-0006J4-Qb for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 18 Jul 2022 20:09:19 +0200 Original-Received: by mail-oo1-f56.google.com with SMTP id n5-20020a4ab345000000b0040e5ffbd237sf1314980ooo.15 for ; Mon, 18 Jul 2022 11:09:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658167758; cv=pass; d=google.com; s=arc-20160816; b=ewM6DNOK8dMv5KycrcG6lryOQFfPci+9htZ9hc7peJjZMe9CvFdnpV0ge1QPsTjtA1 s3iDYkGHsh4opsKjGzOFUtRzZ6KiP46Ut+P8tlKKThXy50Btq2Ul9HOt9L8u/EheF+hJ 4JF1UV369tWg8c+KCDx/KJd2DGHaswq1GUf5S0pkweLuVv64XkdMveFeFPOR8+ojPFxX z6ok9aTQbN3CLcQU6gWtR3R0ToQeGojNUvfEgERs+742Eqi42crN7cwNFgM0CvBHdCxt VtS9ViGY+1XlNr6ca/h5rtFuFXaVfMhTmtbvdtuFSf6aooH9/5Et5V3tUFPPutLNBnMt b/1Q== 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:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=j0h1g1ETRb1DkkW1YDkwn76b2lQuUFtCDtQLCX2SLmU=; b=ZUzT58fbeib/lQuILx8qe3GJFhi6q4BjwB1zt4bZVwB0Sz+iXEyfPvQEj4IZECbQXG cvN1xCAiqZHJJgR/v2YaYafCqnk4O1g/o7WTlTjKt7eXIP0PxAM5LgiiBrd2EkdmhwSj SfX1PPuGaJc/o3N0S5SU5YJK4FBklh2E0Woz4eeKRwKw22n1QGMPB13iOpL4bzT9n1En BwDCZVIODOU4nqiNBw5/nvYFxN7kkjjm0l++8+Ok0QN3eGlO23mKh3/SgpMXQvVGVpf9 oSYyyG7vueMh0Xp+V36BHK/LmsJSi1YJj4WxTIivTEzCqWYq+uRH+0ZYvEuOEqsM9cJ4 8d4A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HFRKRTbe; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=amine.aboufirass-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:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=j0h1g1ETRb1DkkW1YDkwn76b2lQuUFtCDtQLCX2SLmU=; b=qqBnzPXEOrYQZ+TGtzNn2aLHFNJrXCZlfQ2pp4r9eg+WvN3zCcaWYIOMNMGW1vp3xW hmfBTiPLGs1dEy2gIADmNqjzJgva5mASFRELJg4mJ5gbT4+ne3JifYfCn22UntHvJYis yetHqdh4rrO0nc8noVNPK4DeJ+lOKDkGZzqr+e1wGm/Aa7rat+OutW0tQ4jyQvoF5X/B g5va3Gfth8vNZWrQVf+29M5dnT+woovimTE/8tRIo23nV3/ipGmBT4GOfo84a7xHXp7h BvVt+L5sgsnwUTr1RKcPtzrkkuumBjgRJIHIgCQdlSkKVrVUSa31OwttuYu31xrAyS2G l1fQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :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=j0h1g1ETRb1DkkW1YDkwn76b2lQuUFtCDtQLCX2SLmU=; b=O+aTGMcNvNv5IouEzXWC1m4tly39aOlQrJZUXN25UPjfRDQb6EUb2mD/WAeF/G90od 6Y7wd2D99fHRxFxkYIU0y6thv8i5ndBgHtGK8ZZme3dpQhpfP6mYndxTq9RlqmMno4Bu nd+z1Q9hHvyr3OvO/MICsQznwfEaVtSSE5VY5yIIV/MKqA+eZLBfPxwJuDUdKvrsOuJH bU0cQek6Zy0HXL1MGP4+7uGB7Cj55hgv7nnXRBsZgZtnoyPSZP7u7V8kXZaOEmuLXXzW JusuxRs2Sfg1uY6IbJoRonbRReEsOvtJRT6k8hX0GpeDxW/z/4Es5H6f/kyTlToqzyT4 Jzig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=j0h1g1ETRb1DkkW1YDkwn76b2lQuUFtCDtQLCX2SLmU=; b=WsKQeoyfh0ww9IzAPa5vjKM9YiOS2Z46/+A0o7u9Y8i4vd2YN6d22C6SigH+WpJuv9 VC+P/20k9gH303DXKVfMFURqZi1oMmA3mf9GjBzeC0u0bcLXJyPhaPiI5I/vftJhOV6q Nj29A2xSLF5sAaQNtoKXPXzDHTEV1r+43fK5UasFpkj7KAIFRgHrOu/0zFBQRi38EDjF gDaFFSaH33m2FYHMaDlDIKM/K2c/sOaEM4oz3NfLGMwXV3PYst0xpgCwA60GP5ZDOWFX zQiLguw8dV90VhYlscMHk7OUfmvvX7sZNsx6S+W1Cq8zWzZCHQH+RirgNzHw20tP3W0T kmDQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9AnhKIAFkCKxM5XK8IRkADWCGy/6RQ2MkniwzSKtUCu8U0cYcx NrosOFqe/XTGC2sMDGIBJ+w= X-Google-Smtp-Source: AGRyM1spiv2Pr23TLv6fnwjRVnxG+V1OkdNS9AvVCgwsOwMh/+JQ2k0mE10v466Nv79oCkjGG6iwxQ== X-Received: by 2002:a05:6808:1641:b0:33a:1754:82a5 with SMTP id az1-20020a056808164100b0033a175482a5mr16910296oib.206.1658167758675; Mon, 18 Jul 2022 11:09:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:3908:b0:61c:23a5:4215 with SMTP id br8-20020a056830390800b0061c23a54215ls23528otb.7.-pod-prod-gmail; Mon, 18 Jul 2022 11:09:16 -0700 (PDT) X-Received: by 2002:a9d:4104:0:b0:61c:8679:bd0f with SMTP id o4-20020a9d4104000000b0061c8679bd0fmr6819746ote.15.1658167755964; Mon, 18 Jul 2022 11:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658167755; cv=none; d=google.com; s=arc-20160816; b=zqUQPju+rYOWsLdGhYh/YpTFw9UJq/IC6A7b5238VWRpQTlObwywTrcMAvPJGGClqb gt4ycBx6bxrQejF/WEhZ11zbPa6NoDTgAPzT6dFvVwKr/FPERXWjsjl6JbQ+yBjmZ3Cj qdMomo2oUfjrc01I0ax3Mg1vHg4kYPe2gMHe8g9jprlB/f04xyFgPXTmDN5L3TcA7nD3 kTOMftrpLtK1Z3GgHuxUed8CAgETjSZDeRlDEVx0kPReU05Fv4gXH2+ao+CmJCfjrE9O Ri3aH4WsjqqYykR7kgsnPJ5yI0zZoOm/S7gVDDkmtoM9vwAsoqFUH0bX6cKtOWON35H8 FZTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rOcIS8MdMUuvgceQSVofeTsf2Ij9zEjnScvxNTnkPkU=; b=xAiVmOVtfCqD6xoAXIwc3mR/TI+dtiZe+Ymi1lp9h0yPoN+6YENAuAjzO8Rsl1vpwK pQUHHJ71zpMwpCcUjWPg/FFfB076k7VIIn+BAm9x3kOcLl4JsCUq9ZRz5S0yIiWLVzO2 dwq+3xBzjJVxx55uek4KHCJioB+8qnui68vj3E/upVsyJ3Y8PNvNt822S/LkqzD+bzNJ Y2opHWfDScjw26ph1gikUs8nrqVhjfoVWO716tychyNn8IdxalEbn21mccsF2hoHkxJh ABddu5q9c1HxzSub5zIac3VEGa3qDyeQ59MeOKcSqhmcLxCOCnktjfJwROU+ZOr61alb nKnA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HFRKRTbe; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com. [2607:f8b0:4864:20::533]) by gmr-mx.google.com with ESMTPS id h4-20020a056870170400b0010c5005e1c8si1409822oae.3.2022.07.18.11.09.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jul 2022 11:09:15 -0700 (PDT) Received-SPF: pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) client-ip=2607:f8b0:4864:20::533; Original-Received: by mail-pg1-x533.google.com with SMTP id o18so11292970pgu.9 for ; Mon, 18 Jul 2022 11:09:15 -0700 (PDT) X-Received: by 2002:a63:500d:0:b0:415:e89e:42b7 with SMTP id e13-20020a63500d000000b00415e89e42b7mr25403940pgb.140.1658167755567; Mon, 18 Jul 2022 11:09:15 -0700 (PDT) In-Reply-To: <47D489F7-4FC9-444A-901B-A42FE3AB3A6A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HFRKRTbe; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=amine.aboufirass-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:31016 Archived-At: --0000000000000c759505e41844ca Content-Type: text/plain; charset="UTF-8" That's interesting, but it doesn't seem to work with pandoc's markdown, which is what I'm using for the moment... On Mon, 18 Jul 2022 at 20:06, John MacFarlane wrote: > In commonmark with the generic attributes extension (enabled in > commonmark_x), you can put different attributes on different lines: > > {.class} > {key=value oherkey=othervalue} > {more="of this"} > ``` > my code block > ``` > > > > On Jul 18, 2022, at 8:02 PM, A A wrote: > > > > If you have many attributes and want to keep the markdown source clean, > I don't see how that can be avoided.... > > > > > > On Mon, 18 Jul 2022 at 18:16, John MacFarlane > wrote: > > It will work with pandoc's markdown parser, but not with commonmark and > variants. For maximum portability and future-proofing, you might want to > avoid line breaks in attributes. > > > > > > > On Jul 18, 2022, at 5:24 PM, Sukil Etxenike arizaleta < > sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > Hi, > > > > > > Yes, you can. I've tried with Pandoc 2.18 and it worked fine, except > in one case where I don't know what I did. > > > > > > Hth, > > > > > > Sukil > > > > > > > > > > -- > > 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/C46B3BA1-AA71-49DE-A15B-299173A4F045%40gmail.com > . > > > > -- > > 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/CAMwawgMRm0o1YS6i%2Bdchx1YHy4q03wQbEuzRGbfiuO6qaep9dw%40mail.gmail.com > . > > -- > 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/47D489F7-4FC9-444A-901B-A42FE3AB3A6A%40gmail.com > . > -- 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/CAMwawgMWrMLyYRTmF6A36HB4heJnT03iXvGsKaxt_8pC6aG4Zw%40mail.gmail.com. --0000000000000c759505e41844ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's interesting, but it doesn't seem to work wi= th pandoc's markdown, which is what I'm using for the moment...
On M= on, 18 Jul 2022 at 20:06, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
In commonmark with the generic attribute= s extension (enabled in commonmark_x), you can put different attributes on = different lines:

{.class}
{key=3Dvalue oherkey=3Dothervalue}
{more=3D"of this"}
```
my code block
```


> On Jul 18, 2022, at 8:02 PM, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >
> If you have many attributes and want to keep the markdown source clean= , I don't see how that can be avoided....
>
>
> On Mon, 18 Jul 2022 at 18:16, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrot= e:
> It will work with pandoc's markdown parser, but not with commonmar= k and variants.=C2=A0 For maximum portability and future-proofing, you migh= t want to avoid line breaks in attributes.
>
>
> > On Jul 18, 2022, at 5:24 PM, Sukil Etxenike arizaleta <sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org&g= t; wrote:
> >
> > Hi,
> >
> > Yes, you can. I've tried with Pandoc 2.18 and it worked fine,= except in one case where I don't know what I did.
> >
> > Hth,
> >
> > Sukil
> >
> >
>
> --
> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/C46B3BA1-AA71-49DE-A15B-299173A4F045%40gmail.com.
>
> --
> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://gr= oups.google.com/d/msgid/pandoc-discuss/CAMwawgMRm0o1YS6i%2Bdchx1YHy4q03wQbE= uzRGbfiuO6qaep9dw%40mail.gmail.com.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/47D489F7-4FC9-444A-901B-A42FE3AB3A6A%40gmail.com.

--
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/CAMwawgMWrMLyYRTmF6A36HB4heJnT03iXvGsKaxt= _8pC6aG4Zw%40mail.gmail.com.
--0000000000000c759505e41844ca--