From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31329 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Newsgroups: gmane.text.pandoc Subject: single underscores remain converting from commonmark to plain Date: Sun, 4 Sep 2022 21:43:05 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4596_1958761092.1662352985525" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32707"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCKPB4FD2MFRBWX42WMAMGQEKMGNQEQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 05 06:43:10 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qk1-f191.google.com ([209.85.222.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oV3wz-0008PM-Gr for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 05 Sep 2022 06:43:09 +0200 Original-Received: by mail-qk1-f191.google.com with SMTP id r14-20020a05620a298e00b006be796b6164sf6181186qkp.19 for ; Sun, 04 Sep 2022 21:43:09 -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=1dz4mYTm0fLaKJTC/t/IHDM9psJA0dUU977ZM0ttUaI=; b=F+0cj0RdmBSYK8EhU5GpgNl4ngD2gAnMWrgw6quDBFnoJ25MTh536bdIxRNdXv3n9q Zx10kpq59+esFHrjH/o+uvNLPKh2y9XMfhswfhKj06B88d8CCiEZYBTiaXjrpNSOXqMv M8Vd23VzPLQIfaUqsRtXyGIsZsLmAwWlkSb7o8ccYlpNUaUfja/e/LzX3aCMLP7vjbkR KLxBo5hpNoVIUcyHGbRoSpf6goNMTizESBT8cRFLrLJYfzbVix+RqyzSSJ+YnOBZU0Za 3JcLLZdAPb+lOFDQdapcDzd2+yOr1CECaMWpo4+AdXxNCRXhQZA1eP7dqLvLAzya+8H9 GuCw== 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=1dz4mYTm0fLaKJTC/t/IHDM9psJA0dUU977ZM0ttUaI=; b=bx8e5C0KzLyTxaJI1WDipns8hf+K9UVsyLlfgv6ZDBHSdKaryC/qYYN4/WHXO/owSQ 2vYOWPZ4LkQze2b2h61S+bSbKazXv1gR2YL/EPYYnzZreDI1xWdA5ZmsO6PEeB3zj3KJ lJ3WrIVkvv5idMRiyEBu8T3gsgfM2LYIZPOo374ETunJS0rnsqspLUaRdahc24LVdZnr E1chSovBHRmKeuioq0myD8QH2ks3RwVSMCqrXYrln+MIFqIaVxLLe3r0vsDl9f3e+9Jk cXfYALblKu21DYlr5/7JFVfC97/KFacApzvqb0tuUB4tSpKofKV7PEiwPzGBzgcHVZlT 6/oQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo27V8lU3B4Sg2xJqzI12Co/vr9Zo6BWi6nwfZyUT44uOTSqE3uf DO/khdjxRvZfNwr26e60KIs= X-Google-Smtp-Source: AA6agR4LVDVymVc2ewb1U1MyvtgSBTFOlS15gZNRPaHZ8bg/Y6LhSCZqjL1nX4cm6A05LSUgFVYNqg== X-Received: by 2002:a05:622a:104f:b0:344:5130:409a with SMTP id f15-20020a05622a104f00b003445130409amr38084671qte.547.1662352988438; Sun, 04 Sep 2022 21:43:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ae9:f00c:0:b0:6bb:13a4:5c25 with SMTP id l12-20020ae9f00c000000b006bb13a45c25ls7124049qkg.4.-pod-prod-gmail; Sun, 04 Sep 2022 21:43:06 -0700 (PDT) X-Received: by 2002:a05:620a:1992:b0:6bb:7171:eca3 with SMTP id bm18-20020a05620a199200b006bb7171eca3mr29909543qkb.252.1662352986033; Sun, 04 Sep 2022 21:43:06 -0700 (PDT) X-Original-Sender: urbanjost-Wuw85uim5zDR7s880joybQ@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:31329 Archived-At: ------=_Part_4596_1958761092.1662352985525 Content-Type: multipart/alternative; boundary="----=_Part_4597_2012472131.1662352985525" ------=_Part_4597_2012472131.1662352985525 Content-Type: text/plain; charset="UTF-8" When I convert to plain text from commonmark the _word_ strings retain their underscores. I expect them to just become the word without the underscores. Is their an option for this? pandoc -f commonmark -t plain test.md test.md: **word** __word__ *word* _word_ output WORD WORD _word_ _word_ -- 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/d2501388-9bbd-4fe2-abf8-5224d0d957can%40googlegroups.com. ------=_Part_4597_2012472131.1662352985525 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When I convert to plain text from commonmark the _word_ strings retain= their underscores.
I expect them to just become the word without= the underscores. Is their an option for this?

pan= doc -f commonmark -t plain test.md

test.md:
<= div>
**word**
__word__
*word*
_= word_

output

WORD WORD _w= ord_ _word_


--
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/d2501388-9bbd-4fe2-abf8-5224d0d957can%40googlegroups.= com.
------=_Part_4597_2012472131.1662352985525-- ------=_Part_4596_1958761092.1662352985525--