From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28509 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: christophe dervieux Newsgroups: gmane.text.pandoc Subject: width / height attributes on fenced divs ? Date: Tue, 1 Jun 2021 02:05:15 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1410_1614580187.1622538315315" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10701"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDDJDKUZ7QORBTHQ26CQMGQE2HN3TRA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 01 11:05:18 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f185.google.com ([209.85.167.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lo0Ks-0002cU-A7 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 01 Jun 2021 11:05:18 +0200 Original-Received: by mail-oi1-f185.google.com with SMTP id m11-20020acad50b0000b02901e9c3439188sf6636927oig.15 for ; Tue, 01 Jun 2021 02:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=DkNb7I2DxWBHAZvQoTc4p9JgEmPvhpWQmGvs1LFy1CQ=; b=q4cVdWoIy9J6NjaxHUS607pVd+D6ZVeue3ynY6g3AU5Zx3N4h2eZhDF5+ZaZkzS7WH H4jBASX1t12hhvki9mDCQoP3dK+RYq/HymgjK4YEhJpwsNR4N7wNt143TxuzWC2/TU1g zrPpsMT1+9N9+ZWPB3RlMv2FGvAHerokmYd5HN5Wc4/WsnZwIcoUqw+F+0ZmMPOZx3RT JzdVsMnHjWWb3rrHMixRsdxb7cGCMtaHo5Ft3AAxhsLecUHg8K6Qo/wwZQinIJBVmTn8 cMmFL/GkDHLIH1sseLY7QSL6jbtOA1fSuFWWSagP93y//JBqCVBEyuuV9G34m3CpeTye PiDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=DkNb7I2DxWBHAZvQoTc4p9JgEmPvhpWQmGvs1LFy1CQ=; b=hPTUYRbjQS8n+QYSxKYBBiSPtKnu9LY5jTkFOO7xnrSLSVZ3LatCKYf2hJPWTHwbE0 gN8VUDp31ayaOCeCeZuxfn4YEgwUtTdzdSNvccR2Mpar48RfPN1j0wsrtMscFqKpJ2zb W9ddbeg8Hwyr5R+MBpT8/T3YXBQ8u+X+tczbtNoMdiJUq0DoNgw48o0XpRZRJ0mvvfAQ CYONKRwEUJTJkeI5eDA8HgUwndrwSYSrj4i55bbip36QBZu8ZBr+J/FOJpj5stCQVJle 7uz9jzVtY7IwejQpxme0+fgOA/sZKGoPYERrt0z9yIrP3YzjuZOEl+USMmM93WcnI2/f jcrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id: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=DkNb7I2DxWBHAZvQoTc4p9JgEmPvhpWQmGvs1LFy1CQ=; b=G+nQ309JmWdGKphmg4KledMO/zBRxAJoIlb3cuJmVecisSVmHQ4k20BGlFQ5ApvXCd 8FhP9HC+6q1EDjVfXKa3B3UubgiVcwdrwZady0amsRbSLlU0nOWL53Uj9xhLiyOvnfOA vX2YfgHR3nvLigLbUp8I0z54u7wg9sXjf3oQtw9TGTek5Ufv28bDn33fIHD7FokWXZJ0 HqdyyF1kO8k84cGNAv/6VazWpUw70LkilD6WCFbOuoan4s3xaGf94Cp5rAhmL9ekdlsu G2kSjP5P/TND1p+EyGhYKFUQlQd+4HW9U1oVh3D1JXXncrqfZeCjtHu+84vwdXz23nsm vgFQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533t5NqOIPpLDTOMgbCYSh3U8QLH3BzhCPyblX+BfSNXFTwesh0Y MwBJTTg2BklYU7gyls7oUgQ= X-Google-Smtp-Source: ABdhPJzsBTaw1zKiALGscGxP5LTgSEV2ohU4sJuXNaMtF+bb68DN+/mklks9W00tCiJWXyMYgmfZSw== X-Received: by 2002:aca:5cc2:: with SMTP id q185mr2093961oib.173.1622538317319; Tue, 01 Jun 2021 02:05:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:77d1:: with SMTP id w17ls5161602otl.5.gmail; Tue, 01 Jun 2021 02:05:16 -0700 (PDT) X-Received: by 2002:a9d:6c47:: with SMTP id g7mr20507545otq.67.1622538315817; Tue, 01 Jun 2021 02:05:15 -0700 (PDT) X-Original-Sender: christophe.dervieux-Re5JQEeQqe8AvxtiuMwx3w@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:28509 Archived-At: ------=_Part_1410_1614580187.1622538315315 Content-Type: multipart/alternative; boundary="----=_Part_1411_2014969637.1622538315315" ------=_Part_1411_2014969637.1622538315315 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,=20 I noticed that width attributes is not passed through on Fenced Divs.=20 *=E2=9D=AF pandoc -t html* *::: {#hello .greeting .message width=3D40%}* *Hello **world**!* *:::* *^Z* *
* *

Hello world!

* *
* At first I thought maybe it is because it was not valid HTML but I don't=20 height is also and it works *=E2=9D=AF pandoc -t html* *::: {#hello .greeting .message height=3D40%}* *Hello **world**!* *:::* *^Z* *
* *

Hello world!

* *
* Is there a special treatment for width attributes on fenced div ?=20 I know they are not passed through asis on linked=20 attributes https://pandoc.org/MANUAL.html#extension-link_attributes It seems from HTML to Markdown conversion, it is kept though *=E2=9D=AF pandoc -f html -t markdown* *
* *
* *^Z* *::: {#hello .greeting .message width=3D"40%"}* *:::* I thought it was better to ask here before opening any issues as I am not= =20 sure what is expected on this. Thank you. Christophe --=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/cfabbfee-2a97-4ea1-9742-b0a1a484fbcbn%40googlegroups.com. ------=_Part_1411_2014969637.1622538315315 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, 

I noticed that width attributes is not passed = through on Fenced Divs. 

=E2=9D=AF pa= ndoc -t html
::: {#hello .greeting .message width=3D40%}
Hello **world**!
:::
^Z
<div id=3D"hello" class=3D"greeting message">
<p>Hello <strong>world</strong>!</p><= /div>
</div>

At first I tho= ught maybe it is because it was not valid HTML but I don't height is also a= nd it works

=E2=9D=AF pandoc -t html
::: {#hello .greeting .message height=3D40%}
H= ello **world**!
:::
^Z
&= lt;div id=3D"hello" class=3D"greeting message" height=3D"40%">
=
<p>Hello <strong>world</strong>!</p>
</div>

Is there a speci= al treatment for width attributes on fenced div ? 
I know th= ey are not passed through asis on linked attributes https://pandoc.org= /MANUAL.html#extension-link_attributes

It seems fr= om HTML to Markdown conversion, it is kept though

=
=E2=9D=AF pandoc -f html -t markdown
<div id=3D= "hello" class=3D"greeting message" width=3D"40%">
</= div>
^Z
::: {#hello .greeting .message= width=3D"40%"}
:::

<= div>I thought it was better to ask here before opening any issues as I am n= ot sure what is expected on this.

Thank you.
=

Christophe

--
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/cfabbfee-2a97-4ea1-9742-b0a1a484fbcbn%40googlegroups.= com.
------=_Part_1411_2014969637.1622538315315-- ------=_Part_1410_1614580187.1622538315315--