public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Filter to change date format in metadata
@ 2017-01-02 13:23 Keith Walbolt
       [not found] ` <e102d308-7483-44d0-a90f-81950406a3ec-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Keith Walbolt @ 2017-01-02 13:23 UTC (permalink / raw)
  To: pandoc-discuss


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

I wrote my first filter and I'm posting it in case it's useful to others.

I populate most of my documents automatically with a boring date format, 
e.g. 2017-01-02. Often, when printing, I'd rather have a nicer looking date 
show up. This filter will do that.

Filter is here <https://gist.github.com/7937d04120ac27fcfb1955ae15773b05>. 
(https://gist.github.com/7937d04120ac27fcfb1955ae15773b05)

If I'm doing anything in python to make this unnecessarily slow, please 
feel free to correct me.

-- 
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/e102d308-7483-44d0-a90f-81950406a3ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Filter to change date format in metadata
       [not found] ` <e102d308-7483-44d0-a90f-81950406a3ec-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-01-03  5:16   ` Kolen Cheung
  0 siblings, 0 replies; 2+ messages in thread
From: Kolen Cheung @ 2017-01-03  5:16 UTC (permalink / raw)
  To: pandoc-discuss


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



Remember to add it to Pandoc Filters · jgm/pandoc Wiki 
<https://github.com/jgm/pandoc/wiki/Pandoc-Filters> too.
​

-- 
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/f9b55695-d858-4189-9dae-07591e721304%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2017-01-03  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-02 13:23 Filter to change date format in metadata Keith Walbolt
     [not found] ` <e102d308-7483-44d0-a90f-81950406a3ec-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-01-03  5:16   ` Kolen Cheung

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