From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31015 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Some code formatting for code block attributes in pandoc's markdown.... Date: Mon, 18 Jul 2022 20:06:17 +0200 Message-ID: <47D489F7-4FC9-444A-901B-A42FE3AB3A6A@gmail.com> References: <4d799efa-fe25-c4cb-c542-e18278f8415c@gmail.com> 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" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4156"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBHWC22LAMGQEZ2RZDDI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jul 18 20:06:24 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f189.google.com ([209.85.160.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDV8S-0000tE-S7 for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 18 Jul 2022 20:06:24 +0200 Original-Received: by mail-qt1-f189.google.com with SMTP id r5-20020ac85c85000000b0031ecf611c64sf8934062qta.23 for ; Mon, 18 Jul 2022 11:06:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658167584; cv=pass; d=google.com; s=arc-20160816; b=kkm1Yp+xoYdY3t1DmhYTM2UFV4ksE/apZVvxSpiLEntRyfWxvioUU+5lx4IYd/tHG6 3miJ9L+jQl7htxw77rLMFd822/iskhH/9w4TouNFlG8Nz23+wxDJifbiUjzTuibRxObg ZiX+Oiw1SxU/WE1T+8A4R2BGQZKZhnPJgkgaeMJm//fL/XVr1hT+fyZDyWzTPbxOdxlJ vtg9o1uF8G7KlrR/XqHfe+kUP7dy3Dt08W+JlgK/OWgY+mvGJmNCC760JkxCykYTBhB6 VUYjSKTQSVC1JxGWKJjtsaBYDbDetqkOTSdynbSAAyIN+7/wT58rM6Urhzw4T7LURkmw mwJA== 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:from:sender:dkim-signature :dkim-signature; bh=+AITuzhw5+a+ymbvvjylYvQI+A4lGfaFS6HSVCqlm0Q=; b=redJHHVjcL6fWvk0sEKuDOkafDYCE56fN3JpWdDnFoyvl4b1isbYz6mvZYgJsELFap 19WHCLA3x3ord+QSpGomIBPNiLnKWIDzeyNGO3NkQp0plfGvS4w7g7MsOvfCcyZdGel3 AgTuHwIE0lPWIEGY4LAvujc4rWXSTwg2G/dIneg5Y4Eijt6tCuEd/rqWJIrNDy9mrq+7 alR5xAhfqK3B2XW9IQ/l9cmjpT8u7IoI/Qx8z9wMR832md/2X7O6b0r99NAMFlnhLJf8 XfpKY/MWR1r4L+qCHXawulPEsobbVBGMlGkRMP1NqZZAtjNjMbXmjlINRc6lxdNclWih 247g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PAg8CJpI; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 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: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=+AITuzhw5+a+ymbvvjylYvQI+A4lGfaFS6HSVCqlm0Q=; b=qg3QWHkwDQYTfbDxC4q6CQ+miYI8x2XmwxzzToC1kV4ElQbTt68H8mZnTkACwnWwKf Z8XdhOr2ckkNbdoI5geW/H7i+aXNMQxdzAs9L67OQKxgysa6WxZo66TvqTQ9fB9vw/K4 v8EbXPuUQjIAlgJGIrf1QEtslJMGm360CDX4hLORvTtSSqyTLlFK6MddVL4F9bzBGIk8 PX2Sr7YFAQYWGSImOMJeceZJQEDo043frEE5RaEFlmpLeLKF8QunXUYJBIZ0W/6UALn/ 2sFFBB3BoKw5Yal3AkYH1fvtVXOE0UDXXWPI+V8Lj2Qjs0lG4JhjzxmpWYQU4o3bCkrT Ua+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from: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=+AITuzhw5+a+ymbvvjylYvQI+A4lGfaFS6HSVCqlm0Q=; b=Fj7DqRKqMCAffg4VMVOh/E0CLhq+SY4JBtZ19RwoZjaD+BwQcQJ+6RgrQE/yMM6UmK GB+s1jEE3Dt38Gn2y4wvRiPPMCODDBgcJwruo402LrMc/otptuC77dDm2pfqRei3ZG0a S4hoI7qRf0+t236qTSPTHtN7bXNMnlmvkN4ZdRteUlJtsHYcNFGPnFD2E4uLuUO4cuTc Eayj+gXmVP7JJZkU3cX4nJ8leXQiNX6idTvVDOeFk6+1BEBWnoBD/+RDsD/dFpn+IHGT LUe2WQAuXm40YPIQvKqhw7AJYwnpC6VNK0dGEKlbd6Sggoa+x9iW4NXSLK2uqufW1b1W afCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from: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=+AITuzhw5+a+ymbvvjylYvQI+A4lGfaFS6HSVCqlm0Q=; b=d54x38wN6SR7l6YoKyOTMpRXEvPC580noVNV5IkDEh94y1cg6ooxBzcx87He/o/LUx 3DS3I6MTpLJwZCnpH0mZ/og7VPuYz8HvEWGnZ9b7nrTmneTM+umI6spJzf+drrge2C/f dAWlzLTVvYgQhsV5wOvrW92CAWZjZgSQdQ5+HWY4gvNsjHEsO+d6y0Ac6e8+ouNPTnnY uXtSQqIUeqWdM9WJeOfaSGb6N7DeqjSg3fZaxEOs1Z6929+zz0VoG38VLJgnv2yJlUPK jF7DPlT0MKW9aTcuZu58zlMZfwQZ6vDJ+TdsfEVTZowSxy1w95POkilf4jImQy9vGGqn BIDA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/ccPxQZ3KL4EhKpL34fcO0qF80SbNB8I7LKS5wAOau0th4AtkM L9MuMdcog3Uqo2xih1pJKFA= X-Google-Smtp-Source: AGRyM1tffWpjry0gbS76Bgln1zTX8guw5k8qe4vGIcgt2IiB9PPQt73cL55YN6wgndxMk/mhQ9vTIA== X-Received: by 2002:a05:6214:2a87:b0:473:8ba7:9f76 with SMTP id jr7-20020a0562142a8700b004738ba79f76mr21246489qvb.89.1658167583773; Mon, 18 Jul 2022 11:06:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:372c:b0:6b5:8dde:363e with SMTP id de44-20020a05620a372c00b006b58dde363els11076618qkb.4.gmail; Mon, 18 Jul 2022 11:06:21 -0700 (PDT) X-Received: by 2002:a05:620a:4043:b0:6b5:f695:69cc with SMTP id i3-20020a05620a404300b006b5f69569ccmr1864977qko.31.1658167581629; Mon, 18 Jul 2022 11:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658167581; cv=none; d=google.com; s=arc-20160816; b=eUQuRQsX6DUyUJDSoQNZojbak9z0Uekk488UGECu7ww5+WM9TbbxExWMGXnvEINMuU /tBDESpxYXwsd0w5CGEODpFHJinj8B+T6K98tid1hG/SYS6UuMpxJCSZyDYRw3Sbj/gC x62Roqz/FVQBhlo3yeMJamj7IkQjpFvwD9dxinDs0/X9bXWAs+wIqbIYXh7+RR6UkMyw sDPMenFcrqaYE8naoJawtJK/JJh7X3/aPPaEtKMQfFCtf1qTaZHfIVhfo8M8OSOJmiv0 hy4nTdeN+7ALcXzv2ZkMdRfJL1lPERegGJfBvdcZuBitGHk5X6HVC7ydv0kW3CKwm7Bl wmbQ== 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=qpA9XNpjyOoHw8xk6TBFOKS8mZCU1VfqDp0WdpPDefk=; b=miEzRBvWUoonB/lvtFNBEo+OglitbLLKomLbVHkL4SI8FstIJfd9FDBludXEUgp7qY kmsk7l4EC1CTd1K/GTgnsA2hS9SZ/50ATPaS0NaFDBrObHBz2a9r/4qjc5a510lN51dt T8d1zue1XytBOWVq1X0po6Za7BJ9zW0SdyWjVNP6REDNmwE5zIvwu1Jdm3ACtm4kB2u4 w6zvVuah5CRsWIA/GS9/XQ8rqHDMgm0T4QhMRldGKuHch+PcDsiyy478fOLXIPqV2jJm YDoY/I3XsaN0wTfOXcmqBbR7PYpcC/+0Ok6Eroh9r7OCeSsHfDdmHPKJe6dJrzQN7BHZ SEUg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PAg8CJpI; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 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-pj1-x1031.google.com (mail-pj1-x1031.google.com. [2607:f8b0:4864:20::1031]) by gmr-mx.google.com with ESMTPS id u20-20020a05620a121400b006b5e6d01ba4si181466qkj.4.2022.07.18.11.06.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jul 2022 11:06:21 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 as permitted sender) client-ip=2607:f8b0:4864:20::1031; Original-Received: by mail-pj1-x1031.google.com with SMTP id t5-20020a17090a6a0500b001ef965b262eso13408700pjj.5 for ; Mon, 18 Jul 2022 11:06:21 -0700 (PDT) X-Received: by 2002:a17:902:7042:b0:16c:e3d6:7029 with SMTP id h2-20020a170902704200b0016ce3d67029mr11226211plt.115.1658167580496; Mon, 18 Jul 2022 11:06:20 -0700 (PDT) Original-Received: from smtpclient.apple ([2607:f140:800:1::407]) by smtp.gmail.com with ESMTPSA id f5-20020a170902ab8500b0016bfcf8a463sm9760987plr.289.2022.07.18.11.06.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2022 11:06:20 -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=PAg8CJpI; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::1031 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:31015 Archived-At: 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 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.