From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23249 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitriy Krasilnikov Newsgroups: gmane.text.pandoc Subject: Re: Create TOC for multiple .md files Date: Thu, 15 Aug 2019 20:40:16 +0300 Message-ID: References: <508c2bd0-fb71-4ce3-9fc4-379a8724936b@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008ae46b05902b5e6a" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109380"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCW6BWX4WAKBBDNS23VAKGQE7F37GAQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 15 19:40:31 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hyJji-000SJg-BF for gtp-pandoc-discuss@m.gmane.org; Thu, 15 Aug 2019 19:40:30 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id i5sf611329ljg.18 for ; Thu, 15 Aug 2019 10:40:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565890830; cv=pass; d=google.com; s=arc-20160816; b=wxI9wGVoQ9swI+pNqEsYGyPZf2Q8OOwsl8EUh960GAYyB+5ELiNi0JOznc31jraBAf C9Y2Q1IqiWeRmlhHYW3j2Hlo9gJ0NfmSQCCo8c2+cnQH71Pl7gGoh26USB5NSSTBOngD A70agnoDBfsPJYOHrX9lgsQRuLBZFA9Of27Ak00/VOx5t2e8Rt9Y+On5ApHqpMeCZ6pX oNZjpy680nNug+HQaEPT1peqHOLYt2n+nNaol4ti7IgjYBBFuNhQUFS5jexjmE71sRNd iZTKfkFuABOn8VJ13r4D3ptdqA4qUGDLshaF7ga39+ykrZ4e8Ool0J+V+4j0HrOvMc/+ eA/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=ASABIZJBl2qtk6IgDCzVS5fmu9DFP1VmolVAXXAOuV0=; b=l/2YpKJbxFj4H756QlJCrxTm8bVBDHyQDk5Z6u9+ZzHSROa09w+kDNJaBW7BykxpxI zVwC6bpZdhN6lhZmk7hhLAHl6nH0EKbHRhdQ9ZvkvjBNW4xxWskOnCmW8XlrZlcSCRwt 2G9CwqmCQoYyMT2MtRuC+Jr0n0SJosqfWDz4j1N5R8EODYGB/vXPJW52SzIYEly9bWiL UzqN3Z0uXY4u5MgTDUoaUl8e+j0DkwO1/oJe5u83kpVneT7W4gtZ8Ukz1Q+Jwmlrbqt6 QTg4lb49zN2E7IK1X1DYoP4HQGphbQnmxVBiE/uAFXcA5853AkFmqBQOwSEMwpn+vzrR x3iw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jNV5edda; spf=pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f as permitted sender) smtp.mailfrom=dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=ASABIZJBl2qtk6IgDCzVS5fmu9DFP1VmolVAXXAOuV0=; b=ZpOAajCPThZUzh0XYuuwWmHUItwE4lCnTfay3M2F09iA/nhm/MfbzJ1bQCqdooyHDJ 5nMz0CAb4+FeQazoqzriPDgwlqp55CDRmf7SJkJWSxmfTKfSxw+1W2/W2QOzAI3N3Ow1 eerDmJiYBWmxqY7eQyWAaKnkEo/Y4bRCZWoXUoKdqEq8Cl/b+t6XgLoUpA6A7xj++3/8 RK/qPrRsf9wwE6rpJyWGgJCvrUoxyxvrtqBderYAf3qJ6CZQeNbxFtxQpE9tSw3mhdCr 5sP8m1CPmrVytKOLw0SXf3D9T8Lh+vDwiUbdCb0mG9+ktCWObewVY6OXwyUhzNBnC6id 7ndQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ASABIZJBl2qtk6IgDCzVS5fmu9DFP1VmolVAXXAOuV0=; b=qqeihVebIr72JoI31jsv4PY/BafQ8WmMLig13QFXOdHnUOfEF1uK6UnjXoU+dLLBgb ttbEHIBWwlOMgTujMnoeHxsyaEt4r+5q9KnDFVkgjnMcR161Z2DbYmdhKFgoUF4zNTvV 4jUU64aVL7G0ga4yxrXudePethIS4EMpR7yT21xShvzZBL/kD0P8jzRsfnh0gFpNiqHo T2RU223+HlPFvJdJeKzZAhajyVgg6O0fl9Bshy+8Pkt1kQb5DW3Ykks+BlfAiVptyAjZ 1ByxCXK3W2/b7mVHgOWSR9pQvypilDF1kh8rYEhaL7Y8/+YyrrmZgraV0O5aXP2xoGiU 6kIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ASABIZJBl2qtk6IgDCzVS5fmu9DFP1VmolVAXXAOuV0=; b=ZcMrnDL+bnWX8XvY04gUORT/BB7cIOGw/jU1x1a830wJdxR7wPcZrelUK1INLEh3wt KbUsPyytkC4K3Q7LbvdXij2D/2ZtiDHfUsBCMTLyBN6aWvzndIFeYbs4UU3byOBG/Cln +/eq68AiEHJxZmJ10m1K3tqe2wLg3Kx2o/TTvSHuiJx2AYL0wHfi0JzIT6l3TEpiT+Is ZFOlqZWal1y0qfkl1RCZccQsZ9OxlSpM5V/PqJ1YPCrcj+Ta5dQFTLbold6CVl/abvvQ FrHmTqZFWSpUWR1D61xk8xqHMxAeyi5iqIg9tJgVs6A1CnOub/nsNcLZJ5d0PE4JXkb+ yzsw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAUIP+Z53p9FCmHs0YBvU/riW2btgen1eGbGSGa9g1P3PVfrGV6U qGc+prjdjrqNlDEo1pz6vCc= X-Google-Smtp-Source: APXvYqw4AzyYp3to6KsJhH9OOISfbDML6WZh0iCTQ28P84AgoaSnrgTfRnz4JHpa3yeDBko65O7dYA== X-Received: by 2002:a2e:b4d4:: with SMTP id r20mr3322654ljm.5.1565890829931; Thu, 15 Aug 2019 10:40:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:43ca:: with SMTP id u10ls554679lfl.3.gmail; Thu, 15 Aug 2019 10:40:28 -0700 (PDT) X-Received: by 2002:ac2:51a3:: with SMTP id f3mr2864056lfk.94.1565890828667; Thu, 15 Aug 2019 10:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565890828; cv=none; d=google.com; s=arc-20160816; b=y1dai6a5h0IW1CMYWFwQ9Azq3nxf/2YQdfV5qcoLqfLzD5+UrqH2747nuI+51GKuY3 VLJDPQLTHp81eQbCk8huucSr95g7zgYg8s+F/v61PRhp0NKJ1rx4hdfDUNeCR0Ut+CX5 h5wCZsL9fwkR+rcTgi8cTqa9MgHDmlYSH9LewgbZ2UekHffVHHjE4sbNBRU41gkzmJJc FWk+Too9zn1wGmNHv3f9IQ5ruBfBD9+yWnFye+oUbLNMeT/U354OUEj3Wu7Bgi+iT2fG Yvkkd2Jc8wZtcffvuVVaNaIyyUx4sd2klWazaEw9ZiE36iqSJeEUHmKZJLFz2FzYFhl1 3dXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HM3Kdvy2BJLo2mkoWlJXgW/y16N30NlBNSy4LtzhkjI=; b=C/tBXKXn2p/jrzozn2wd8bbJZf3SLzwUSEiWSjOzWoqci0UyTc4bjoqlCu/jRBUOZd vj503OuDZlJxdUE2tkWJk169QlTJ/c9W2u+WmaIBlhw371gCAz76Qft7tYu1xiMKnjTY q8xAZFEUZp7oU7MWMq4Yg7egzH2x9wTlk0uIjASSLjrasomirWoc7XpSaDq9uRAG4bwv qElAZMKVBnD9iNKq0rp8GUXSH+0QAiYn8JmSmNDXmU+ekW2RCiytiNbLRBKHR/a+KZZD +CkZGiiY5XKP/2dcbzEopNX2MdWhr6ay+L66H7IXhNJ65MicRzXN5fTSn1nv+jfpP8j8 oDtg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jNV5edda; spf=pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f as permitted sender) smtp.mailfrom=dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com. [2a00:1450:4864:20::32f]) by gmr-mx.google.com with ESMTPS id t23si199387lfk.2.2019.08.15.10.40.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Aug 2019 10:40:28 -0700 (PDT) Received-SPF: pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f as permitted sender) client-ip=2a00:1450:4864:20::32f; Original-Received: by mail-wm1-x32f.google.com with SMTP id 207so1937768wma.1 for ; Thu, 15 Aug 2019 10:40:28 -0700 (PDT) X-Received: by 2002:a7b:cb0f:: with SMTP id u15mr3588116wmj.173.1565890827706; Thu, 15 Aug 2019 10:40:27 -0700 (PDT) In-Reply-To: <508c2bd0-fb71-4ce3-9fc4-379a8724936b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jNV5edda; spf=pass (google.com: domain of dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f as permitted sender) smtp.mailfrom=dmitriy.krasilnikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:23249 Archived-At: --0000000000008ae46b05902b5e6a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have written a similar tool in go, that merges two MD files into one, and makes a TOC of a file as a an additional feature. =D1=87=D1=82, 15 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3., 20:10 Rudi C : > 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. > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/508c2bd0-fb71-4ce3-9fc4-= 379a8724936b%40googlegroups.com > . > --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CALZUCcCV6iDRBYV0H4-XYdRAd_WcQAUNNvwyG94X%2BQjd9ehXBw%40mail= .gmail.com. --0000000000008ae46b05902b5e6a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have written a similar tool in go, that merges two MD f= iles into one, and makes a TOC of a file as a an additional feature.
<= br>
=D1=87= =D1=82, 15 =D0=B0=D0=B2=D0=B3. 2019 =D0=B3., 20:10 Rudi C <rudiwillalwaysloveyou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org&g= t;:
It should be possible to write = a script to find all the input files, sort them, then feed them to pandoc w= hile prepending the title of the file to its content as a markdown header. =

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.goog= le.com/d/msgid/pandoc-discuss/508c2bd0-fb71-4ce3-9fc4-379a8724936b%40google= groups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CALZUCcCV6iDRBYV0H4-XYdRAd_WcQAUNNvwyG9= 4X%2BQjd9ehXBw%40mail.gmail.com.
--0000000000008ae46b05902b5e6a--