From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22586 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Kolen Cheung Newsgroups: gmane.text.pandoc Subject: Automatically generated a blog (inline) table of contents from Markdown Date: Sat, 20 Apr 2019 13:41:16 -0700 (PDT) Message-ID: <6e7c6cb0-76c8-4146-abc8-f6f921e05916@googlegroups.com> References: <9183d4df-7db3-4867-88a3-9340b778932f@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_242_32767878.1555792876634" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223682"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS252WXTEIBB3UH53SQKGQEPZDLOSA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Apr 20 22:41:21 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hHwnY-000w3o-L1 for gtp-pandoc-discuss@m.gmane.org; Sat, 20 Apr 2019 22:41:20 +0200 Original-Received: by mail-ot1-f59.google.com with SMTP id w11sf4755484otq.7 for ; Sat, 20 Apr 2019 13:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=dC9s4CMrlX+oNl221IsXt4muQYceXPOG2DMCnhpNHkU=; b=oU8VFGnRhv3yE63dEw08vIs+zUMC/Z+v9mn8//y47bBWMS0T9e7EpPjawA2/3SZTuI 7YkxFDMxvJ9YonOBORi1aSUiRJndaZAxtYoyQlGvIkvV8AVw4y3eWVuwdG0foMOC0Byj SYhXAtkYuXplbDik+zIgq9/NL6E/qXguhYzPl5DGEdQykEQtuLtBKBFO/oOJ39nRwepu TTrT7T3A63G7W+qG9Zi2IH8EKy7FiMXtiMJQ44397SlNFJgLX+NankjlAQ5hDaVgA/LV AIJN+2AZbb3p71dlbDZb/Sj5/Mly89jf5d6gKz9yj3V0e0APEjL6lENJ7jRQRMelQKhN ZhRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=dC9s4CMrlX+oNl221IsXt4muQYceXPOG2DMCnhpNHkU=; b=EwNlqFi9nVa0tzxyGEhVSujHawhEB5pI/kNWKlLMk0KbqCjc98auCKpVYY7W5+gH5G QsO29ySZihzw46KirEF+2VaSqC63ptYk119sd84CdxuLwka3bdyoMU1LVo2yR5gqH/sG CctXT1sup8nJGJMBtAulkUtAPMyPrFESayEOAOABnYeTKdy0CNIrKEXKeA8Wxwsfcxfy Sxef3UYYYRm7b6Jtvt8KoF9T6Buf0CJDhCM8VAD6y3LYnXHDzcivq/hQSPZrt9xGTeI/ 1jETr9a/VX2j85xJsqLHZB12ZMCe2C4vkCBr46PnZ88j3NAdZ5+hBsRJF4sh44oy4JRg Z9mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=dC9s4CMrlX+oNl221IsXt4muQYceXPOG2DMCnhpNHkU=; b=LZJbAL+Lp/+5a8SvxoiE3HFQcLLud0Yuw3wBpy4a9fO2GdcDyB0+aJtUfbGxBhTVeA GzRVdBG+Kqmj8Ou9BlCNckrip9QiOIcBEr+tlg4RMyhEpjy/zyeX4hl1QKgwC3ULaqGB /AB6USDw8fiWiyFGpms1fKZPrnH9IXlxXV8dvMFiJi0oLUzbgH+byFjX9XprAjNKxmDI 9nwfmbgWJM/A/3HK9CveEW2lCPDdMGylovwEJmWeTa2m51XhsJpldtGzQem6ckBkOd9L wJn5UIWa+F9A6oUzAPMrSX91JfYjqfCkWpcQsmaq19OKLDz4wGS2XV/BCRk2TaPj/6qq v/wA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXTXQUFVO0UjLKwswP6o1q8hdE+wlsZBQ+jCzGA7TUQiDnCns9j yQ3FmxsEDEPi76ct/Q/Mexs= X-Google-Smtp-Source: APXvYqyRCoS+WtNRTWbzIC5sCo+a/91ERerxo40uLTJVsr1GX2/wSfhm5Ak6L6wxbZD6HkRsbhVuNA== X-Received: by 2002:aca:bcc1:: with SMTP id m184mr5807406oif.158.1555792879013; Sat, 20 Apr 2019 13:41:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:ac8c:: with SMTP id v134ls1252882oie.6.gmail; Sat, 20 Apr 2019 13:41:17 -0700 (PDT) X-Received: by 2002:aca:bcd4:: with SMTP id m203mr5328828oif.41.1555792877456; Sat, 20 Apr 2019 13:41:17 -0700 (PDT) In-Reply-To: <9183d4df-7db3-4867-88a3-9340b778932f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:22586 Archived-At: ------=_Part_242_32767878.1555792876634 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You could write a pandoc filter to get the links. If you use python then tr= y looking at Panflute on GitHub for its user guide. To generate the markdown in other markdowns, you can use pandoc -t ... opti= on, both markdown you mentioned are supported. See pandoc Manual for detail= s. It will try to represent feature not present in the target markdown by i= ts closest representation (sometimes HTML, or in the case of footnote a =E2= =80=9Cpseudo=E2=80=9D footnote that looks like a footnote.) You should try = to see if it works in your case though. If it doesn=E2=80=99t work than in the filter you may add custom ID per hea= der you need and then create links to those directly. --=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 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/6e7c6cb0-76c8-4146-abc8-f6f921e05916%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_242_32767878.1555792876634--