From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28515 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: christophe dervieux Newsgroups: gmane.text.pandoc Subject: Re: width / height attributes on fenced divs ? Date: Tue, 1 Jun 2021 15:16:07 -0700 (PDT) Message-ID: <5a427ae0-2a94-4e48-81d8-d272afb24a4fn@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8977_1754872800.1622585767651" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34963"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDDJDKUZ7QORBKHD3KCQMGQEJWANQAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 02 00:16:11 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1loCgE-0008uO-VT for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 02 Jun 2021 00:16:10 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id u12-20020a9d4d8c0000b02902dcb6679ca2sf369029otk.20 for ; Tue, 01 Jun 2021 15:16:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=fIDUlzakZuGJCfYAk4T8KdR6kPun61xk93OwmwScLHI=; b=tgOAWBZbkJ9BVx2yts6k0aE14h7tGWqeDsqThZL7HG3qHquIsZhaEbu6X3hBTnFYV1 Naw9fHz39mbKS6DsxjHBb3+r9CT19Mi2GGp7hikc6DqSdLUUJwpEjFlNE0trZR7iA+X2 YyDyGtYJHLinPXsMIOlmuyQ/t+gZ7zkOjk2dm91DTXLSQzN0D7CDlqDYkX5J2Ff7b6O0 TyL8xN5APIg8HY+HFdxt5SDHJ5nNbHmjMe2ZNMGExVT7/OIXG1IG5+LH33o28Vc/Otv0 66roLKiuxNrs0JtmcLcP/3CkVGwsAy+gTaPIOhHQun0RneeBEkkX3iDCODXIsd6CsQ6B uPOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=fIDUlzakZuGJCfYAk4T8KdR6kPun61xk93OwmwScLHI=; b=M3rh2lR3AB4Xhib9dfN0EmhATjQ+QpTAEpJWVNXIm9uswy47OundntssLHKrCdjX01 UyiUFJAgH4dQ9iuEls1cj7fDog15qgi13n+q29P7sJ2ojVEF34njxuPwTcz4XYFsnUA3 zWWx/T0jLG9gFSNU3JRbYsNEPPhoK9bm+mv58CN88fjbgejuMpidBY5pNCXsHVa2dm7M MO2K024GwDMUN724qhACBVtnoLT4Z53wHpb3BezFOYDRn500I/W8qbPccuaZcumnpW2R HMPzRCJkad9bOGDFq/7Rgi+Y+mxCc0Zckg8k1f5fGDGiaf47LtIju1TvSg0eGbd+A03+ fDGA== 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:in-reply-to :references: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=fIDUlzakZuGJCfYAk4T8KdR6kPun61xk93OwmwScLHI=; b=r6gZjTo6ZmNBJCCBQZK59oVP7L9obBH8VZVogMpl0bMHwtfqKc32hrUbAnPl1vJeKd TNmDENOGLN8OJ7+XwfKaQRl0d5FVpXiWYxpIa12dNVZP/JqoItd14l+dcQCfsyps7zJf pFHfn4U1xR3uZh9Maoyb4KaURExaVrnXXFaKA9MQBkLrq+LduJ4pcF38+k3euAhiKSIu poWCBLBx6/f/6WOgoSJjn9zXpANIt3M5+Rj74SyMmJE1JjPLeZ8FhrALWnD/RrE9+8Qs FKarDl2mpg7GLRjnfi+6zv8bP9xg9qSdfzD9Ig7lyfQBALs82ICPao17/XQF7GAW/41j nO5g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532pkvmjIuRk3D5swZSvJSrb+WLmPdCvEYppbEkTUcsns+n6tp3L fy35pVE0XHbwil/6SjATuFA= X-Google-Smtp-Source: ABdhPJwihGJeRwLdwaQ60rbWzFKzjhtKeQ9wfjgHdFFuUJ7jYtveL9kOZIH7gpifWxCtCQNlir1A7w== X-Received: by 2002:a9d:4105:: with SMTP id o5mr9715035ote.20.1622585769989; Tue, 01 Jun 2021 15:16:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:168c:: with SMTP id k12ls5869048otr.8.gmail; Tue, 01 Jun 2021 15:16:08 -0700 (PDT) X-Received: by 2002:a05:6830:1db6:: with SMTP id z22mr24565817oti.312.1622585768295; Tue, 01 Jun 2021 15:16:08 -0700 (PDT) In-Reply-To: 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:28515 Archived-At: ------=_Part_8977_1754872800.1622585767651 Content-Type: multipart/alternative; boundary="----=_Part_8978_1259418478.1622585767651" ------=_Part_8978_1259418478.1622585767651 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks!=20 Issue has been opened in https://github.com/jgm/pandoc/issues/7342 Le mardi 1 juin 2021 =C3=A0 15:35:29 UTC+2, John MacFarlane a =C3=A9crit : > > It's a bug, please report. Easily fixed though. We are > excluding width because it gets special treatment using a > style attribute, but currently the special treatment only > kicks in if you have "column" class too... > > christophe dervieux writes: > > > 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= =20 > not=20 > > sure what is expected on this. > > > > Thank you. > > > > Christophe > > > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/cfabbfee-2a97-4ea1-9742-= b0a1a484fbcbn%40googlegroups.com > . > --=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/5a427ae0-2a94-4e48-81d8-d272afb24a4fn%40googlegroups.com. ------=_Part_8978_1259418478.1622585767651 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks!

Issue has been opened in https:= //github.com/jgm/pandoc/issues/7342

Le mardi 1 juin 2021 =C3=A0 15:35:29 UT= C+2, John MacFarlane a =C3=A9crit=C2=A0:

It's a bug, please report. Easily fixed though. We are
excluding width because it gets special treatment using a
style attribute, but currently the special treatment only
kicks in if you have "column" class too...

christophe dervieux <chri= stoph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi,=20
>
> I noticed that width attributes is not passed through on Fenced Di= vs.=20
>
> *=E2=9D=AF pandoc -t html*
> *::: {#hello .greeting .message width=3D40%}*
> *Hello **world**!*
> *:::*
> *^Z*
> *<div id=3D"hello" class=3D"greeting message&quo= t;>*
> *<p>Hello <strong>world</strong>!</p>*
> *</div>*
>
> 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*
> *<div id=3D"hello" class=3D"greeting message&quo= t; height=3D"40%">*
> *<p>Hello <strong>world</strong>!</p>*
> *</div>*
>
> 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#ex= tension-link_attributes
>
> It seems from HTML to Markdown conversion, it is kept though
>
> *=E2=9D=AF pandoc -f html -t markdown*
> *<div id=3D"hello" class=3D"greeting message&quo= t; width=3D"40%">*
> *</div>*
> *^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 email to pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/cfab= bfee-2a97-4ea1-9742-b0a1a484fbcbn%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/pandoc-discuss/5a427ae0-2a94-4e48-81d8-d272afb24a4fn%40googlegroups.= com.
------=_Part_8978_1259418478.1622585767651-- ------=_Part_8977_1754872800.1622585767651--