public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: candlerb <b.candler-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Rewriting extensions in links
Date: Wed, 7 Dec 2016 12:37:55 -0800 (PST)	[thread overview]
Message-ID: <dd8b5357-f55d-4257-93fd-64c0dc1f99f4@googlegroups.com> (raw)


[-- 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 --]

             reply	other threads:[~2016-12-07 20:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07 20:37 candlerb [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd8b5357-f55d-4257-93fd-64c0dc1f99f4@googlegroups.com \
    --to=b.candler-e+axbwqsrlaavxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).