From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Mehran Baghi
<1mehranbaghi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
pandoc-discuss
<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: auto_identifiers (-) -> (_)
Date: Tue, 21 May 2019 09:40:56 -0700 [thread overview]
Message-ID: <m24l5nrc9z.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <8f31ab60-ab45-4201-bac1-c420438b7b0a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
The easiest approach would be to use a lua filter to
modify the identifiers added by auto_identifiers.
Then you don't need to modify the Haskell code.
See the documentation on the website for lua filters.
It would be a few lines.
Mehran Baghi <1mehranbaghi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> The auto_identifiers extension replaces all spaces to hyphens.
>
> https://pandoc.org/MANUAL.html#headings-and-sections
>
> I need it to replace them to underscores to keep my website urls uniform.
> I have searched the github repo and couldn't find the extension file to fix
> it myself.
> Is it Extensions.hs ? How can I fix it?
>
> --
> 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/8f31ab60-ab45-4201-bac1-c420438b7b0a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2019-05-21 16:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 8:52 Mehran Baghi
[not found] ` <8f31ab60-ab45-4201-bac1-c420438b7b0a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-05-21 16:40 ` John MacFarlane [this message]
[not found] ` <m24l5nrc9z.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-05-21 17:41 ` Mehran Baghi
[not found] ` <962ba188-1047-467d-9af6-6f0f30242aa1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-05-21 19:57 ` Albert Krewinkel
[not found] ` <87tvdnmvh6.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2019-06-03 6:49 ` Mehran Baghi
2019-05-21 19:57 ` John MacFarlane
2019-05-22 0:25 ` Kolen Cheung
[not found] ` <36ff6fa9-1f16-4af9-906a-b10a070fffff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-06-03 7:27 ` Mehran Baghi
[not found] ` <4f10048a-4a33-4951-a523-470a55d9a24e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-06-03 9:04 ` BPJ
[not found] ` <CADAJKhBrk5XiWWk-ihu2t1=kM8CfUB9mhxqNSGcceZXtwUVWnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-06-03 11:35 ` Mehran Baghi
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=m24l5nrc9z.fsf@johnmacfarlane.net \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
--cc=1mehranbaghi-Re5JQEeQqe8AvxtiuMwx3w@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).