From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18442 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Agust=C3=ADn_Mart=C3=ADn?= Newsgroups: gmane.text.pandoc Subject: fenced_divs question (markdown to docx custom styles) Date: Tue, 31 Oct 2017 04:37:29 -0700 (PDT) Message-ID: <4a8ef775-eb92-4000-b14b-390b06fa06f7@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_9769_1689219017.1509449849639" X-Trace: blaine.gmane.org 1509449865 25409 195.159.176.226 (31 Oct 2017 11:37:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2017 11:37:45 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDC7PRMFWYJBB6WA4HHQKGQEMKF4P4I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 31 12:37:37 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f58.google.com ([209.85.218.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9UrD-0004nh-QJ for gtp-pandoc-discuss@m.gmane.org; Tue, 31 Oct 2017 12:37:23 +0100 Original-Received: by mail-oi0-f58.google.com with SMTP id h6sf18518895oia.17 for ; Tue, 31 Oct 2017 04:37:31 -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=fbAL8VS0Noik1NaYR/xDLwNW+OoUfZROS8PA3dcVpGQ=; b=euQgd80NsGDLjAOyITmQS6eAaJy/zhl2k3mb/RrkmtgweOxsUAUzXjQW6TFGK7GRBn w2rtQUWSC3uXDz5cxuY5Fkk+a66uCSPgsLKGlQVc4UDuuAXeE8gCmQq8yQ/cTcKqq/6f hsu/SPnYSFsTq7KB1zqJmofJnOF0laZ5DdZzATCt7KAnYo0nt6h7jGgXfeccPfkgRtIu 1qkNuFWvJ2uaZ/jJiUgwW7GQOIKczYZ8KKsVJc6L0Rf2GJsm2Vmp2OD8kZnQv0U1Aj5v dtt+jO9ayGZHOyXgngdTDw6bogQVBYRrc5LnhgebzTwv5RcLw+NzjfLxehls6IzTahi/ s3Ig== 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=fbAL8VS0Noik1NaYR/xDLwNW+OoUfZROS8PA3dcVpGQ=; b=ShSsk5II4pH/+vHlIiTf+Au6mWxcyJlOxK8gtTENTDXRp6eiTrXnDBxq0GFHp/93pa YGPs/TH1bsW/DXmgHYHnWB3Z3xwlgDSUAfv26eUwq74sLeU6ACVYg0LHjAi7e4Ze/GOS qgmxHPEEXzKnm4kWJl5LXH/77vWOwAAYkFqwZdY2qjJpzcGT7cUoGDMLLjpdxvWJqyFN //2Zi9zJeQAGrRljTRlVqraEfduAF+4tYyqtwRnma/Bxk7s+WSAxhI9J4UgJpD5Seyzh xdBgKtSdksIyl1n2zE2dE23tHTrKzh4Oe00y6EdzE1a7QOSqrNoZYyMRtfPCp0z6EAfw Pp6w== 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=fbAL8VS0Noik1NaYR/xDLwNW+OoUfZROS8PA3dcVpGQ=; b=hdLa6guLR/u9kv6gx+wr9AJVICuyUHw+pvsalrYTjpfyOSUJK8FJ7ISi9s08aEPDyE CPMin4buUynzfQuJlgXLdWUed0VIYEaIwJBxoFqKPc/+toabKubtZ6RffGNnpniVWLmf HkiHvv5EiY38TTOSkbP/0+1GsTVpMXAo4MmN2vnGj6IQyzojxuvizIV36WHyLZ7LvqF8 FhOvQnxTNM/FDDc/K1blZGUr+7iLRjaZfTHDpaaR36xM34XMO7WTk8SfTnHAMqrvaoD8 U+q5G0HUar6Mha2j9nKqIhCEQKYxtgzDhTPV0M0CzuyoWxPJtUs0TBR++CCkK8e1AoSm B+dA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaWgwIKkjgGijOAILynOtmI7Gbh4mntg2wfhDidFCtd7u4mbd1OP eTvEFLLUUCCTAUoyzyXC9WU= X-Google-Smtp-Source: ABhQp+Q2cl2EzwFlzEhPzNZes6BEtB8WzsdBiD+H4+NvSGF5Pv4u98R5icygnGiI5XtJwFWed8K5kg== X-Received: by 10.157.12.211 with SMTP id o19mr45659otd.0.1509449851023; Tue, 31 Oct 2017 04:37:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.169.199 with SMTP id s190ls4259482oie.10.gmail; Tue, 31 Oct 2017 04:37:30 -0700 (PDT) X-Received: by 10.157.85.8 with SMTP id l8mr45314oth.7.1509449850024; Tue, 31 Oct 2017 04:37:30 -0700 (PDT) X-Original-Sender: agusmba-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.org gmane.text.pandoc:18442 Archived-At: ------=_Part_9769_1689219017.1509449849639 Content-Type: multipart/alternative; boundary="----=_Part_9770_1830061035.1509449849639" ------=_Part_9770_1830061035.1509449849639 Content-Type: text/plain; charset="UTF-8" I was trying to test the `fenced_divs` extension in pandoc 2.0. I expected that it would behave like raw html divs, and thus I also expected :::: {.custom-style="My Style"} Testing custom style: "My Style" Several lines. :::: to behave the same as
Testing custom style: "My Style" Several lines.
when converting from markdown to docx. However the first approach is not working, I even see the ":::: {...}" in the output document. Did I misunderstand the use case for fenced_divs? Thanks! -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4a8ef775-eb92-4000-b14b-390b06fa06f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_9770_1830061035.1509449849639 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was trying to test the `fenced_divs` extension in pandoc= 2.0.

I expected that it would behave like raw html = divs, and thus I also expected

:::: {.custom-style=3D"My Style"}
Testing c= ustom style: "My Style"

Several lines.
::::

to behave the same as

<div custom-style=3D"
My Style">
Testing custom style: "My Style"

Several lines.
</div>

w= hen converting from markdown to docx.

However= the first approach is not working, I even see the ":::: {...}" i= n the output document.
Did I misunderstand th= e use case for fenced_divs?

Thanks!

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/4a8ef775-eb92-4000-b14b-390b06fa06f7%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_9770_1830061035.1509449849639-- ------=_Part_9769_1689219017.1509449849639--