public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Output-Format Plain removes Markdown-Hyperlinks []()
@ 2022-01-14 11:20 Peter Mueller
       [not found] ` <f3cf23c8-71a0-4825-812d-652b8d1ccc71n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Mueller @ 2022-01-14 11:20 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1163 bytes --]

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*
*<p>prefix <a href="www.google.de">this is a link</a> suffix</p>*

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.

[-- Attachment #1.2: Type: text/html, Size: 1675 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-15 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 11:20 Output-Format Plain removes Markdown-Hyperlinks []() Peter Mueller
     [not found] ` <f3cf23c8-71a0-4825-812d-652b8d1ccc71n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-01-15 14:41   ` BPJ
     [not found]     ` <c26e9460-27b6-ed81-2701-e1f3dcbac293-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-01-15 14:44       ` BPJ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).