From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32523 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?5aeT5ZCN?= Newsgroups: gmane.text.pandoc Subject: how to convert html to md as pipe table Date: Thu, 4 May 2023 20:44:53 -0700 (PDT) Message-ID: <030ac703-6533-428a-9335-42bd0c7997a1n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4242_1470663134.1683258293244" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22706"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDTNDEFISIDRBNXX2GRAMGQEJBL7KLY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri May 05 05:44:58 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f61.google.com ([209.85.161.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pumNO-0005kI-Bh for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 05 May 2023 05:44:58 +0200 Original-Received: by mail-oo1-f61.google.com with SMTP id 006d021491bc7-545e23a24b6sf976789eaf.1 for ; Thu, 04 May 2023 20:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1683258297; x=1685850297; 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:message-id:reply-to; bh=8WdeSg2Zh/C4mfVnDGhrLYRSKplaZ4QqKmmH5p8Xvmg=; b=CiJgqhfDQKXMWSq7tNtD8DcLDrngDPY5xjuPJorNQRgvF6CoLNsf2h/zefmQ0Xkrcp YVj6UGVMKyIgH4l/Bra1d1eNgwyPtoyPvM/jEIs7kquippfaeG78lC3R6YhXSle7JFdU X0AM9cBe/RL3sBVIub53pZLoikcK5QAeXWgJKt9eNfHGCIUVb3s1Q9eZytf47x7Sw3Zm +P+hqMylvUosIdx2G/d6BB8+Rc6v7X4deFe/EIs+5Tf+YttuESs1DTC3uTcrxGV+gurx 4WltKEn7H/mx5Jg/AJM3yB4Wp6p+H655NkQVbeOZBoJ18+w5Pkapm5IQ41m6T52cuouw 3I2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683258297; x=1685850297; 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-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=8WdeSg2Zh/C4mfVnDGhrLYRSKplaZ4QqKmmH5p8Xvmg=; b=Bj7K1//Eac6yO1AupMRmztsQbVu78QPfOjT5zftcY0yDAQlhBq+9GEWVtgGA39m1xn IbVEwoXAJqMGa2jx2mefplOcOC3aFvfe/fmrWe8YbDRCSE4JinhulqzNHA8WYwQ34NrQ UqzvTF2cUztO6F6qxx0q2yA7bT1ir58Gj4dqhqiPLB12cFB6EfZ/9Fzk9emWGvWqImMj MNsGwh/hHtc9ByKjPhGfZqa4yUxShYgJPZ43vYMfo5lH4uaXxQ6xc8Blad3wbJFrF7iR PEzXsuPIlGBiZF6u3FHXtEJ26hv0U3kJGKzZ0zNATSb1gKYo+hiU5yeCev512GhQln8x Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDyzMtYsFKeXgLp6BQ6YpF7Ve5UXzmgF+vKTlPKB73BlMir3exi9 UdM0QW/uKziiXv5tbHQEQsA= X-Google-Smtp-Source: ACHHUZ5YEW6WXXv+LeimcHj8qoUACJRliFlQ8g+XZgYFjwTacY056H++Kii9/agFxzbz8yy8ornhGA== X-Received: by 2002:a05:6870:7d02:b0:192:9364:c4ad with SMTP id os2-20020a0568707d0200b001929364c4admr161693oab.6.1683258297325; Thu, 04 May 2023 20:44:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1917:b0:38c:3dca:c6db with SMTP id bf23-20020a056808191700b0038c3dcac6dbls5117614oib.10.-pod-prod-gmail; Thu, 04 May 2023 20:44:54 -0700 (PDT) X-Received: by 2002:aca:3dd4:0:b0:390:84b8:ee4 with SMTP id k203-20020aca3dd4000000b0039084b80ee4mr1863011oia.11.1683258293926; Thu, 04 May 2023 20:44:53 -0700 (PDT) X-Original-Sender: iamhermit-9Onoh4P/yGk@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:32523 Archived-At: ------=_Part_4242_1470663134.1683258293244 Content-Type: multipart/alternative; boundary="----=_Part_4243_314016360.1683258293244" ------=_Part_4243_314016360.1683258293244 Content-Type: text/plain; charset="UTF-8" here's the html code:
a = True
1 2 3
1 2 3
when I use the args convert html to markdown: * --to markdown+pipe_tables* the table will be simple table. on the other hand, when the args with strict: * --to markdown_strict+pipe_tables* the table is pipe table, but the code lost languange highlight. so how to deal with it? -- 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/030ac703-6533-428a-9335-42bd0c7997a1n%40googlegroups.com. ------=_Part_4243_314016360.1683258293244 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
here's the html code:
<pre class=3D"python">a =3D True</= pre>
<table>
=C2=A0 =C2=A0 <tr>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <td>1</td>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <td>2</td>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <td>3</td>
=C2=A0 =C2=A0 </tr>
=C2=A0 =C2=A0 <tr>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <td>1</td>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <td>2</td>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <td>3</td>
=C2=A0 =C2=A0 </tr>
</table>
when I use the args convert html to mar= kdown:
=C2=A0 =C2=A0 =C2=A0 =C2=A0--to markdown+pipe_tables
the table will be simple table.
on the other hand, wh= en the args with strict:
=C2=A0 =C2=A0 =C2=A0 =C2=A0--to markd= own_strict+pipe_tables
the table is pipe table, but the code = lost languange highlight.
so how to deal with it?

--
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/030ac703-6533-428a-9335-42bd0c7997a1n%40googlegroups.= com.
------=_Part_4243_314016360.1683258293244-- ------=_Part_4242_1470663134.1683258293244--