public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Rudi C <rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Create TOC for multiple .md  files
Date: Thu, 15 Aug 2019 10:10:45 -0700 (PDT)	[thread overview]
Message-ID: <508c2bd0-fb71-4ce3-9fc4-379a8724936b@googlegroups.com> (raw)
In-Reply-To: <b0fa2110-6770-49fe-8acc-c9571b4970ad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

It should be possible to write a script to find all the input files, sort them, then feed them to pandoc while prepending the title of the file to its content as a markdown header. 

  parent reply	other threads:[~2019-08-15 17:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 16:54 Sarah G
     [not found] ` <b0fa2110-6770-49fe-8acc-c9571b4970ad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-15 17:10   ` Rudi C [this message]
     [not found]     ` <508c2bd0-fb71-4ce3-9fc4-379a8724936b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-15 17:40       ` Dmitriy Krasilnikov
     [not found]         ` <CALZUCcCV6iDRBYV0H4-XYdRAd_WcQAUNNvwyG94X+Qjd9ehXBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-08-16  6:00           ` Rudi C
     [not found]             ` <CAE9z9A2dN4oi2Wc2=u9=Mw1edysjoidDZYqFh9uwcpdCZErujQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-08-16 17:20               ` Dmitriy Krasilnikov
     [not found]                 ` <CALZUCcCFJ-fvsWWwU=NTHm4PDhvY5CjQFPPhrydWNZ_CXo6mWw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-08-16 17:38                   ` Sarah G
2019-08-19 18:33   ` John Gabriele

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=508c2bd0-fb71-4ce3-9fc4-379a8724936b@googlegroups.com \
    --to=rudiwillalwaysloveyou-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).