From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32040 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: No

for inline images Date: Thu, 19 Jan 2023 15:49:22 -0800 Message-ID: <690EB0D2-4185-4099-B2C8-6EC61E2DF704@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: multipart/alternative; boundary="Apple-Mail=_6D3359D0-F86E-409D-9523-F0F9C595FF91" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7701"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBBVOU6PAMGQE6VPTG5I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 20 00:49:31 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f63.google.com ([209.85.160.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pIeew-0001md-Gi for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 20 Jan 2023 00:49:30 +0100 Original-Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-14bb44ca7d1sf1675383fac.14 for ; Thu, 19 Jan 2023 15:49:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674172169; cv=pass; d=google.com; s=arc-20160816; b=po7nHSylwcuaJCR8xGKTwspzeJwKjFyyurXNrZznIK2EDRv77QQ/G6mjevJn/vF1xA eb6obc3iJzX1222rBlLBdEym1Tl4edHD3JLK5e6Zbvy1zsG7D9z56xzbeobkDJV5wFzc dFOdO7s2QYAxXiJS9K/1ridV54aHtew/+yWS2oh2vbCoYtkldR/u3cwreuloJjVTLlb1 DUiW24eeYY21bZUp6Jd9AFOgk+exDZ06qNXhXms3kvv9R0GnJLDlG4so52ji1Ew7n+eW KTwS/++2VZW1ngWyrdS3/zWWB6QnLBHS9zUT1DViyDej/SBJxzVUdMFah4cMTeA+DEM8 /rVg== 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=QTHJEgcToZCB6RkU9mUJIRjxkKRIbfSq/wpqWXyKf+Q=; b=JYMlNgDVpYh0gTaPNtR0vWYepnnRvjwjt9EdgHx756tuJtNBi73sIbKjb4fhzXu/tR suxu4wIgmPRCIzdVx+lGcdVwSzWlD+LMzGkyQvqSyC5o8usGvaBrNDbQNe3XK6JqRcXz oA0KATY9r/ikj6YVayCDIrVi+/+Kf+3jgTyRXoxitz8sHa+GuMpe+oLY5fbF2NDuC9WH ErPxT6d2ni0fTvS99ubBipVXm3pzN0+V2+EdrFOD1Z3CKfhOMuBw3jx1Vr3ljBtmCJ0p a90xYa5MVNmQPSL1ZYCpdizwZdGpkpbOdwpQNwfEUjXi7S8msBekcEYzvANczyzRBmi9 24Ng== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eSVQ1fMH; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c 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=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=QTHJEgcToZCB6RkU9mUJIRjxkKRIbfSq/wpqWXyKf+Q=; b=Tvk8A8MW1k1GTUk9z/T8nIZSZRNrCVLMeEe0g5FflGLpbZn4ocyfWW9vnP6nk9dkzc /YBYMJ3hupL4lsIWcMX1BlHana+6aFp7AWZb5RRhA/IKlRLKQKTJOMwlNyJi4DPIDEh8 zucc4qEeVzp30XFHvcfSEfrfJjyrzVOtdqYkDgFEh0ae6z5+aBK9M3PPr+24Ft2CWPd/ fySqtAABHtvaIRhAHbylPJEvOzqZEHABlIzdsjPjPGUvROeP5ZkTPfzMCPLI05P/hg3+ T6Uk1en8UJdH5pkp0FkNKblgL8/mu+tT38f9k9PsfLGuVeREYoJTJp3madkzJT2OhbTX fmqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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:message-id :in-reply-to:to:references:date:subject:mime-version:from:from:to:cc :subject:date:message-id:reply-to; bh=QTHJEgcToZCB6RkU9mUJIRjxkKRIbfSq/wpqWXyKf+Q=; b=YumhZQDRXg3BRtBFXzZ9FEgApkeaZth3xy4m2/NQuRidsreYE2CfDUHFUZ9MAkS2qc QYfKeCBd4f2FB87IUcUx2Ukx4xQQ3TznmXyxPnECVvCHxgJz9cDa0EXfjUXh/gFXWMam OrP+gLfgDnx4A3qXFec4jZaxb+fsMbScFzRJtyf08HA1u+PcZHq4g+ocYSkMnTCWnKhs k7WRK903TollcCQ9Bu1OykbcJiQu0DeWhYt9dl30fOg2BGi9j6vOV80rfKBA8TNVLYl5 nClUpoxb01Xs8th62Jb+AJUK+6E1e77743c6KWzphlIpHTm1xbzZRzTGl1Iym/V0zhCZ hwtA== 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:message-id :in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=QTHJEgcToZCB6RkU9mUJIRjxkKRIbfSq/wpqWXyKf+Q=; b=mOc1ARqyMeYb72PsBh0vUZ/gg9GvMgVWzeV84Iqm/XFXSRUgE152ZygzG7c0+fPDZS hl1Y6bnNpIPJ/NWxBlfU2HTqx3/QpfOwVDXlGZFulKTRB2YOrZQFD4vV9v6pqa7FqEAd vzYGETMeEimq9hFLmUOgzAXd1vRWI9CSpJhx2MM/fdYDBp/GMKFUPAE1W8iaTKfSq1dd y2oJ1HJLhz5pNcPDic+nZoy2PrmFgXazBY1oHYqeZkOQ6v2EZjyohDt8nu0/Czfr06jt WIUZD48R6lrtsLpp2zJ7Plo3GyCh6/I+fZFhpJQL3JWW+9 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kq6Mstn8d790M4C1Y+x7zY4BuqKdZiSe5rgtU+6+tEjbl29pX16 LOyF3R0Gy5WzN71hJTBmb20= X-Google-Smtp-Source: AMrXdXvWZ5DfyZaGsfogRXWVOeu2rgyGJvaoo3rYuSXdrAD+e5LgI3KWz3US6/rmTxvcTfymWQq7ew== X-Received: by 2002:a05:6871:4509:b0:15b:907c:412c with SMTP id nj9-20020a056871450900b0015b907c412cmr1178451oab.282.1674172169349; Thu, 19 Jan 2023 15:49:29 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a54:4f9b:0:b0:36b:9295:8fcc with SMTP id g27-20020a544f9b000000b0036b92958fccls910815oiy.9.-pod-prod-gmail; Thu, 19 Jan 2023 15:49:26 -0800 (PST) X-Received: by 2002:aca:c0c3:0:b0:36b:b779:dd6b with SMTP id q186-20020acac0c3000000b0036bb779dd6bmr3498036oif.59.1674172166426; Thu, 19 Jan 2023 15:49:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674172166; cv=none; d=google.com; s=arc-20160816; b=H8xdHspyt5dKKuQp851gZvG1d2wOCc2p1A3iuaRWEtWeRuh1KE3ywsso9w/rZQ/YcN AKKycpGcJYbCNILrhAiULCP24/9AiPbGwopMYfqPJ//ICtgSlx47OOQI8SBgNhkRalXQ WxzP+booEGxH+PVzWLr3GRQQL8vSJG/gLFp1WhqvWtqfimOFhs1gja8AoH44H+nS2XCg E/xrkgTOszP8wwyRr2wvuEfNOnEWLqRCXZTXXIZkl4sEUjRrwLuGzn4q0ly0PJKZysoq 82DAOhPqoJI2Ybgss5yNmfkOTPcLFRS6KUT8YKgQaagzPL/B7nKixtdcrTyPGPwIkYrz uPkw== 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:from :dkim-signature; bh=T+nDK5puTqGBhX21YxQ10auDO3kB1HLRYiE6nyLEnhI=; b=JWYykmTdeHAF62wLVw/D+TY1CQpBSbtZA3rQS8Y6vWIqz907nndrWqCd52Vj4XfjRe jwbC8pGlRMp94Gyzb8wsn3uJql6AhiCNQHyS47tFotUgMwyG/TqaoRHmNZjRR+kQ4TlH AQHV95oOABw9lawx3dwUSkPdQ6oZaJn+F+J4OaBViBr1+8qLHv+yeSgW2V5LoqruCYLn iNeWmvmGMC87kj7c8oMjFkUvc3PZA+Ri5QieHEZFaxVvskbnBJGGYPJJireY1WrogaOs muO+aRONZoFhZoRNAHh9GbAtiBI/JQ/HihXU43bb67JfCYpQvcViAQla2KjFTTfdS5JQ eSlw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eSVQ1fMH; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c 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-pf1-x42c.google.com (mail-pf1-x42c.google.com. [2607:f8b0:4864:20::42c]) by gmr-mx.google.com with ESMTPS id 71-20020a9d064d000000b0067054a075b7si3168286otn.2.2023.01.19.15.49.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Jan 2023 15:49:26 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c as permitted sender) client-ip=2607:f8b0:4864:20::42c; Original-Received: by mail-pf1-x42c.google.com with SMTP id 200so2767529pfx.7 for ; Thu, 19 Jan 2023 15:49:26 -0800 (PST) X-Received: by 2002:a05:6a00:1d23:b0:58a:9bef:5cd3 with SMTP id a35-20020a056a001d2300b0058a9bef5cd3mr12486341pfx.17.1674172165536; Thu, 19 Jan 2023 15:49:25 -0800 (PST) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id z188-20020a6265c5000000b0055f209690c0sm23833966pfb.50.2023.01.19.15.49.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jan 2023 15:49:24 -0800 (PST) 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=eSVQ1fMH; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c 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:32040 Archived-At: --Apple-Mail=_6D3359D0-F86E-409D-9523-F0F9C595FF91 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Use a Lua filter: match on a Div with class =E2=80=9Ccolumn-page=E2=80=9D, = then change the Para to a Plain. > On Jan 19, 2023, at 12:03 PM, bapt a wrote: >=20 > Hi, >=20 > Sorry if I'm missing something obvious, but I can't seem to find a way to= remove the

tag when I'm wrapping several images in a div. Consider thi= s input markdown file, >=20 > ``` > :::{.column-page} > ![This image won't be a figure](/url/of/image.png)\ =20 > ![This image won't be a figure](/url/of/image.png)\ =20 > ![This image won't be a figure](/url/of/image.png)\ =20 > ::: > ``` > (following the suggestion of https://pandoc.org/MANUAL.html#extension-imp= licit_figures) >=20 > running `pandoc test.md -t html5` produces >=20 > ``` >

>

alt=3D"This image won=E2=80=99t be a figure" />
> alt=3D"This image won=E2=80=99t be a figure" />
> 3D"This

>
> ``` >=20 > but I'm hoping to remove the

tag as some javascript library wants the= images directly in the div. >=20 > Many thanks, >=20 > baptiste >=20 >=20 > --=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= 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/f125c307-183b-48c9-90bf-c4a83acb001dn%40googlegroups.com <= https://groups.google.com/d/msgid/pandoc-discuss/f125c307-183b-48c9-90bf-c4= a83acb001dn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>. --=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/690EB0D2-4185-4099-B2C8-6EC61E2DF704%40gmail.com. --Apple-Mail=_6D3359D0-F86E-409D-9523-F0F9C595FF91 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Use a Lua filter: match on= a Div with class =E2=80=9Ccolumn-page=E2=80=9D, then change the Para to a = Plain.



On Jan 19, 2023, at 12:03 PM, bapt a &= lt;auguieba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org&= gt; wrote:

Hi,

= Sorry if I'm missing something obvious, but I can't seem to find a way to r= emove the <p> tag when I'm wrapping several images in a div. Consider= this input markdown file,

```
:::{.column-page}
![This image wo= n't be a figure](/url/of/image.png)\    
![This im= age won't be a figure](/url/of/image.png)\    
![T= his image won't be a figure](/url/of/image.png)\    
:::
```
(following the suggestion of https://pandoc.org/MANUAL.html#ex= tension-implicit_figures)

running `pandoc test.md -t html5` produces

```
<div class=3D"column-page">
<p&g= t;<img src=3D"/url/of/image.png"
alt=3D"This image won= =E2=80=99t be a figure" /> <br />
<img src= =3D"/url/of/image.png"
alt=3D"This image won=E2=80=99t be a f= igure" /> <br />
<img src=3D"/url/of/image.p= ng" alt=3D"This image won=E2=80=99t be a figure" /> &= lt;/p>
</div>
```

but = I'm hoping to remove the <p> tag as some javascript library wants the= images directly in the div.

Many thanks,

baptiste

<= div class=3D"">
--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://grou= ps.google.com/d/msgid/pandoc-discuss/f125c307-183b-48c9-90bf-c4a83acb001dn%= 40googlegroups.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/p= andoc-discuss/690EB0D2-4185-4099-B2C8-6EC61E2DF704%40gmail.com.
--Apple-Mail=_6D3359D0-F86E-409D-9523-F0F9C595FF91--