From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18279 Path: news.gmane.org!.POSTED!not-for-mail From: Saivan Hamama Newsgroups: gmane.text.pandoc Subject: Re: How to add raw Markdown in filter? Date: Tue, 10 Oct 2017 03:52:29 -0700 (PDT) Message-ID: <47112b0a-d44a-40d5-8453-6628bbbc5720@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12173_1878711628.1507632749894" X-Trace: blaine.gmane.org 1507632752 24066 195.159.176.226 (10 Oct 2017 10:52:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 10:52:32 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD3YJDEF6IJRB3WM6LHAKGQESW4UGVI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 10 12:52:28 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f64.google.com ([209.85.214.64]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1s9A-00051v-2t for gtp-pandoc-discuss@m.gmane.org; Tue, 10 Oct 2017 12:52:24 +0200 Original-Received: by mail-it0-f64.google.com with SMTP id 186sf13553176itu.9 for ; Tue, 10 Oct 2017 03:52:31 -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=7UFDJ+HOAwhzHqMcCS1HlodoKHMv2FPhRZB5QpG1O1o=; b=BzK/QB46gmzrBWMN/u2IMbHHm5uPN4vtRa0I8p9J5k2/wasgRvSBxIejKAeZWBYCUR eksw/a4JzKG+4TaS5QTmgZ+I/vluff66qvKMI4mysxMvroJik+0KrQNfBb4OKEadKI8m DMhfRVZJ3Xqb5AC3qp/7/7Ak6BrfRdOH56vAeBY063Pp2HrTnaws1HGFEXfTaT8L9WI0 oiOaL4m0LIEXMEub0UWMJD26yM/sZljLlEa/hDAcThSls0pjrwmjtQeg2i2/tFHYrUGt uc8Di+gVLNYC0Dg4OgivdnWJcFIQy5Ywwb+v8p+QMyfPEUYVOjCa2PuOjTMNbl3Imi/F 4P6w== 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=7UFDJ+HOAwhzHqMcCS1HlodoKHMv2FPhRZB5QpG1O1o=; b=NCVZ3FC6HE4/6eREz5AmUey+QPkud3gbSICsMa4EKKOagkgL/S/WyHGWb0OXMBOFSE W9pj6RdLK4LYnzcGGVN1Zmn05+okun+PqssJjfNE6OvUx+TeZenZgMhzcpVoTVmI0dq/ rdS2p+D6IMF6+igAl2k2vUtVinKsOuZJpr8W5ygTrZSDSHhnj/5IQh0Y7j59bkVuLYQf qBaRKauS0Q51aKJ/ME5vYs24ZUJ/cDUtJ/G1ZlF6LWHas3Murlp0D/5BRBMxxmRb43hh 2OUpNaNGTVko53b/nrWs0p7RIRIcOV4Zp/Ijpc2Km6RBvBn91Y3Cc6lFckaRYMlvdxc6 q8oQ== 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=7UFDJ+HOAwhzHqMcCS1HlodoKHMv2FPhRZB5QpG1O1o=; b=jL4pN5FXYn/d61LmKR8gJkXUo8ap1OwypJMyy4q+peZI200bX7iWbL8IfYHEQ3YDoa wIp7Nya9WMGw9XjOe0RjbT82eGqe3mWPO+8wXkvMTBU0TOT00+CujIR4tW4p5nASpXPz ESo2OxnWs7GopXQb/QoZWVaBabTb595vItzEpiNZs52F5JGp9CXcmfZwuS2IDTLvum6A ljhx5F0mmArq1GAvCXdxtfUppvGUjp9WN+J13YWe1ee6nJgjp8deZY4pYg9zHEj907aA vHanYFZIiFDaO8hfJDo1abP2g5b8wQrca4OHYhls0pMTjLpsZS0tBH4+gPojsJmWkl9h jSiA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaXRk7O0t/MzK/OVI1E4dfDW2YRCxCnF0dNymESppbh84fYoOJoP o1poBWJddTJ1Aa4zm849sVc= X-Google-Smtp-Source: AOwi7QCE5nCZ/zQgqxKHELI/yZXqWx/9NU7ZS5CSghxsZ4gcxnV++S4JKshWvVm+Vr9m+Hrrhx70uw== X-Received: by 10.31.1.136 with SMTP id 130mr510727vkb.16.1507632751114; Tue, 10 Oct 2017 03:52:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.31.60.206 with SMTP id j197ls1857759vka.8.gmail; Tue, 10 Oct 2017 03:52:30 -0700 (PDT) X-Received: by 10.31.168.70 with SMTP id r67mr671654vke.25.1507632750303; Tue, 10 Oct 2017 03:52:30 -0700 (PDT) In-Reply-To: X-Original-Sender: dragons6666x-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:18279 Archived-At: ------=_Part_12173_1878711628.1507632749894 Content-Type: multipart/alternative; boundary="----=_Part_12174_494041288.1507632749894" ------=_Part_12174_494041288.1507632749894 Content-Type: text/plain; charset="UTF-8" If you're willing to use python, panflute also exposes a run_pandoc option, that you can use in a filter to parse your markdown to an AST. This should work if you're willing to go that route :) -- 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/47112b0a-d44a-40d5-8453-6628bbbc5720%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_12174_494041288.1507632749894 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you're willing to use python, panflute also exposes= a run_pandoc option,=C2=A0
that you can use in a filter to parse your = markdown to an AST.
This should work if you're willing to go that r= oute :)

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/47112b0a-d44a-40d5-8453-6628bbbc5720%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_12174_494041288.1507632749894-- ------=_Part_12173_1878711628.1507632749894--