public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Rewriting extensions in links
@ 2016-12-07 20:37 candlerb
       [not found] ` <dd8b5357-f55d-4257-93fd-64c0dc1f99f4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: candlerb @ 2016-12-07 20:37 UTC (permalink / raw)
  To: pandoc-discuss


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

Suppose I have a markdown file "foo.md" which contains links [like 
this](target.md), pointing at other markdown files in the directory.

When I convert this to HTML I would like the link target to be 
"target.html" rather than "target.md", since all the files have been 
converted from md to html.

Is there a straightforward way to do this?

I looked through the list of third-party filters:
https://github.com/jgm/pandoc/wiki/Pandoc-Filters
and didn't see anything - but maybe this is functionality built-in to 
pandoc that I've overlooked? Or would I have to write a filter myself?

Thanks,

Brian.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/dd8b5357-f55d-4257-93fd-64c0dc1f99f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2016-12-08 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-07 20:37 Rewriting extensions in links candlerb
     [not found] ` <dd8b5357-f55d-4257-93fd-64c0dc1f99f4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-12-07 21:29   ` Joost Kremers
     [not found]     ` <878trrjuly.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org>
2016-12-07 21:39       ` candlerb
2016-12-08 10:52   ` John MacFarlane

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).