From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31492 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gabriel Braun Newsgroups: gmane.text.pandoc Subject: Problem with fenced divs with headers Date: Sun, 2 Oct 2022 11:41:42 -0700 (PDT) Message-ID: <78975b89-cdf6-4066-a61b-f4060e5987c9n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1872_999844416.1664736102465" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9320"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCG2HNWSUEIRB2FW46MQMGQEWRLM2CI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Oct 02 20:41:47 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f55.google.com ([209.85.160.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1of3uN-0002KU-CS for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 02 Oct 2022 20:41:47 +0200 Original-Received: by mail-oa1-f55.google.com with SMTP id 586e51a60fabf-132254f73bdsf2634518fac.14 for ; Sun, 02 Oct 2022 11:41:47 -0700 (PDT) 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-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date; bh=8YQSyhWS1evcF36r2hluD8hztwvn1k83hBGslenjn8E=; b=cekI0W+ewWyfGUBuQicDS3n+53eHLk4NiuXS0zDIdAFCsG41yiGkRe9HVUNYCsFwbl 6itPeQb5FT0luhuNi2Ta00+Cm/fI0S5Alagx+LNaq4IOCZJUqVxGFMhQcHqBEXJggmpp /3hlFokK1QhgcnmzVz0wVLWGWlQXzNhIKz40kQLWG1Y8ZtWSgTRkCvkl34DvoFKTwOWJ iP0Flkd7UzX9wfKyghszD0Hk0fe9NMIRx74QPbpvACa4qicscLrxM/y34cl/hV+bksb1 diVc8t/7CvJZyvOSVBSkcFxZaNc7tHTofLCY0SBr0nYxyUqh/p62UAp+HqPIurvMkwNS midQ== 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-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date; bh=8YQSyhWS1evcF36r2hluD8hztwvn1k83hBGslenjn8E=; b=nHYlx8Lxkq/lGqBHkX1rd1PJzHp9o+jg2NUfxEUp1nDBZbb04bOMW0Asv6vRjPNdU7 vdJBDOqyqeROt6ahf7ErmOzEMWxduceUa4LKpo73LrSFRru+NpvIu++7zfHbL5KB9wO/ fICkoFfpddd7EZ4a66qMpkOcsN1LunR2Dmmz51LUqePM2bUVjcqyAh45r/usOoUXzBWY Jt5geiH3Ypbc2wT8nbAbUkoWyIUSMxylp6OzpvB9/lo+rlJ2+QwZo6a6LOfTThFQwNEw xqFElMICDxoiAxMaHBnj4/9mUtyviYbpnvOg9njV4zBsuIqZ/u/IEsCn6Y6vGhzy+Qi/ taSQ== 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-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date; bh=8YQSyhWS1evcF36r2hluD8hztwvn1k83hBGslenjn8E=; b=lqlntjyBkyUDqG6m8Kx1M/SUyZ+YBvSqdWEe/DbjZm1aCkzB8b7Z406duWsmFqt32B vOb8tqbL8mhUGYO0HuGPdcakpO+CzWMifudhFN4eU29k8ZgeRrGPLPMMzru8s4t93JMZ tDlxU9GDv94ORbT/9ysFeGgbK4ZJ5cJrsTsSsgWOh0APptEqpxX5pIm1vgIRiSrzGOuC IbLhv2rEDMewMZqMHcoU4PbVgsL/h90QcZx8qvdaMYLKTGDkhc4/mOQ1PtZpYP+Xrpe3 SV09pA/58VJjFaJeokIIQCNRK72XS8JvRCDbE7c1Tp1e/Lr5pkZh85wL6b0x3XnTXSVf XGtQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf1384tGNto9oe1q1qlkADZy4o7gK9+cbCtHlfERN/syqEnAdz8W lSlAMa6vZtaLJqIcn6nMDqA= X-Google-Smtp-Source: AMsMyM5w44zXBhEcenHLXxq65yeTwzjkB7SfkBwLWi08jxKC36iiHe4+2iA9ZhGJ+dnH79fKBjhaRA== X-Received: by 2002:a05:6870:3120:b0:132:7d08:7059 with SMTP id v32-20020a056870312000b001327d087059mr53076oaa.226.1664736106296; Sun, 02 Oct 2022 11:41:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:542:0:b0:350:81cc:846d with SMTP id 63-20020aca0542000000b0035081cc846dls2328855oif.7.-pod-prod-gmail; Sun, 02 Oct 2022 11:41:43 -0700 (PDT) X-Received: by 2002:a05:6808:238d:b0:34f:bb02:c91a with SMTP id bp13-20020a056808238d00b0034fbb02c91amr2786795oib.43.1664736103323; Sun, 02 Oct 2022 11:41:43 -0700 (PDT) X-Original-Sender: braun.pineschi-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:31492 Archived-At: ------=_Part_1872_999844416.1664736102465 Content-Type: multipart/alternative; boundary="----=_Part_1873_1345997252.1664736102465" ------=_Part_1873_1345997252.1664736102465 Content-Type: text/plain; charset="UTF-8" Hello! I need to convert markdown with fenced divs to HTML and then back to markdown. The conversion works fine when the fenced divs do not have headers, however, with headers I get: :::warning # Header content ::: converted to HTML and then back to: ::: {.section .warning} # Header content ::: instead of :::warning # Header content ::: Is there a way around it? Thank you! -- 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/78975b89-cdf6-4066-a61b-f4060e5987c9n%40googlegroups.com. ------=_Part_1873_1345997252.1664736102465 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello!

I need to convert markdown with fenced divs to HT= ML and then back to markdown. The conversion works fine when the fenced div= s do not have headers, however, with headers I get:

:::warning
# Header
content
:::
<= br>
converted to HTML and then back to:

= ::: {.section .warning}
# Header
content
:::

instead of

:::= warning
# Header
content
:::
=

Is there a way around it?

Than= k you!

--
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/78975b89-cdf6-4066-a61b-f4060e5987c9n%40googlegroups.= com.
------=_Part_1873_1345997252.1664736102465-- ------=_Part_1872_999844416.1664736102465--