From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Mueller Newsgroups: gmane.text.pandoc Subject: Output-Format Plain removes Markdown-Hyperlinks []() Date: Fri, 14 Jan 2022 03:20:57 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_876_209678762.1642159257574" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5536"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCONJQU7RYOBBG5ZQWHQMGQE5PX6QZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 14 12:21:02 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f58.google.com ([209.85.161.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n8Kdh-0001BJ-B7 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 14 Jan 2022 12:21:01 +0100 Original-Received: by mail-oo1-f58.google.com with SMTP id m12-20020a4add0c000000b002e13ed4f7e7sf33875oou.0 for ; Fri, 14 Jan 2022 03:21:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=1u7kw4SMQrXX8IAC2EYtWAxI2VkdnUG0yCPjYyJYa6w=; b=en64C/dE+PdyuhLlEZr1F7GVwa/7MFX2nwfqRfpljF+ig3eAVLm5iThmKLBWwkqjwO fS+6q27x7BuVvx+uVyxz1dtG42TS9UQju2egGecLUjKKk1AoXd2BKBxm/qcopdGMCdta BTq1+jK7fmoPycP+XtWdeMP27dASdGh2dqUlYlXHsWEZC62kI2InqWh7rSnrIQk9lC6D /DOBigohx7zxzPl7atAPCnEhpU/2EZPQTdl6mW8RCZ8/r5fQ763GetWpB6pQf04xpzus LpxjkEXHmRJ7e/goHEp5QeuT1zyL3TmtCCzjd7ZsRGBCscuACcyTkhn6NAsXjPXiTgSz LaLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=1u7kw4SMQrXX8IAC2EYtWAxI2VkdnUG0yCPjYyJYa6w=; b=MsKYCc/aYEQTKV1dxMf3E8dPZPNbODokrqaCdYve2jkNeqVtNpop9+dT6aAbIYEXrL /wJ9VmzLa8V42sV63t+mMNUyaJFgxNcJLbs2+bdaBeUFVL8o0hp1HNpmb7JL/Ery49ln PqRrpcQJy9gFJE/1BQNzqF0XJ9ZkRlKYxwkZMSCrIxCWYQj594KO9U5RA742AJFonXtj jQ0tHSlahB7l9C20Alaqw2M1po4MPNI0zTbmqjs/Yutv/dNPqhwcIBkQVm1ZSF5gU3Qz 8L89KulAGLqg3RRdF7kPNohr7xqV/xLsL5g6DiXTk1VH+cU7wR9mvUsoJ4Ms72S7P/kZ CfFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=1u7kw4SMQrXX8IAC2EYtWAxI2VkdnUG0yCPjYyJYa6w=; b=o3vfWhKPRtLFlcqQrhxVDmorbHpmBWvoxrBGGbWGXIR0fnyRLepeW627VHiX9z6XrQ xw5rno9xzBLKNlYqsAYsM9lii6wYm0fjZCu1nuIYqOju2PwGs1qkceaMTluz/ERz1efs 1tifflp6fWpwOn7X0ACAngH+E00LLmW1ceA8UocHp6bifJ+9e6Z/809gjCpzgXWXV2lC zF/+h4TUduIHiU6LMRGjvnevcPNB1Q2xDuuEkbXLCYm98mJW8XE9I0TJPprBYnfF5XLu Y13BYOLh4wtt6hDHOUvKzpmAJydspptqxRgdbiN4GTV5pcMacZwqhxvTYFfQWHKIYZRs AimQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5326CXAgFSIla9p5L9NKUD3emwUJSxI2oMxvBpdEa6gYKsTfjOLV sg+XrG6UQcvgdt3MD87Zfyc= X-Google-Smtp-Source: ABdhPJxZS233ee8su7g3QShXZjtR1d8jXoDPOGIc+zcjeXQWyb/rK+51kG8oZ/2KOkSD0s1IW8WL9g== X-Received: by 2002:a05:6830:b8a:: with SMTP id a10mr6437916otv.288.1642159259985; Fri, 14 Jan 2022 03:20:59 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:3116:: with SMTP id b22ls1540224ots.3.gmail; Fri, 14 Jan 2022 03:20:58 -0800 (PST) X-Received: by 2002:a9d:12f8:: with SMTP id g111mr6608239otg.41.1642159258179; Fri, 14 Jan 2022 03:20:58 -0800 (PST) X-Original-Sender: kg.schmidt94-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:29970 Archived-At: ------=_Part_876_209678762.1642159257574 Content-Type: multipart/alternative; boundary="----=_Part_877_1355783289.1642159257574" ------=_Part_877_1355783289.1642159257574 Content-Type: text/plain; charset="UTF-8" Hello together. I'm working on a project where we use one input markdown file to create HTML but also TXT files. The problem I have is with markdown hyperlinks in the form of [](). While for the output format html they are kept: *$ echo "prefix [this is a link](www.google.de) suffix" | pandoc -f markdown -t html* *

prefix this is a link suffix

* the url is completely removed for plain output: *$ echo "prefix [this is a link](www.google.de) suffix" | pandoc -f markdown -t plain* *prefix this is a link suffix* Is there a way/plugin to keep the url within the plain output? (e.g. by keeping the markdown [this is a link](www.google.de) as it is, but handling all other markdown as usual?) Thank you Peter -- 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/f3cf23c8-71a0-4825-812d-652b8d1ccc71n%40googlegroups.com. ------=_Part_877_1355783289.1642159257574 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello together.

I'm working on a project where we use one inpu= t markdown file to create HTML but also TXT files.
The problem I = have is with markdown hyperlinks in the form of []().

<= div>While for the output format html they are kept:
$ echo "pr= efix [this is a link](www.google.de) suffix" | pandoc -f markdown -t html
<p>prefix <a href=3D"www.google.de">this is a link<= /a> suffix</p>

the url is complet= ely removed for plain output:
$ echo "prefix [this is a link](= www.google.de) suffix" | pandoc -f markdown -t plain
prefix this = is a link suffix

Is there a way/plugin to = keep the url within the plain output?
(e.g.  by keeping the markdow= n  [this is a link](www.google.de) as it is, but handling all other ma= rkdown as usual?)

Thank you
Peter<= /div>

--
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/f3cf23c8-71a0-4825-812d-652b8d1ccc71n%40googlegroups.= com.
------=_Part_877_1355783289.1642159257574-- ------=_Part_876_209678762.1642159257574--