From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29765 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: What might be a good way to process macro's in markdown Date: Sun, 12 Dec 2021 17:56:34 +0000 Message-ID: <47a030fe791048779b1ee789f0e3749c@unibe.ch> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="685"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBVPP3CGQMGQETYESM7A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Dec 12 18:56:40 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f59.google.com ([209.85.128.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mwT5T-000AW7-EQ for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 12 Dec 2021 18:56:39 +0100 Original-Received: by mail-wm1-f59.google.com with SMTP id 205-20020a1c00d6000000b003335d1384f1sf10375395wma.3 for ; Sun, 12 Dec 2021 09:56:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1639331798; cv=pass; d=google.com; s=arc-20160816; b=Qsj9lj1YaxEXA3AFIguAQoBZIFNknkFymCwkHduom99rFWjhAH+aIaZ3E8ePWz6HHm Bvo/SJmOsrqlR0mLRG+a2dvx8tqGD3UCLyrWwf3cm4w3GnNDO6K7pYjI82PjAIkCKwKy uInyi/Odum7V+hCLlg5XRGX2FQmd+0+0gnCWGSpqcF7B2KGBIjou2C+G5NOKiLgkrl2W +xfy/qdkNkDuab5OYVedLMhRePgNyrH4vR88NTccjRebjG6hRVISqBN9eEFybAVeKwgi BUTFksSjL1FTjW+lmF1bHGgbvHwzcS4NDQoyfI3SZSV8jzn5iaAGZi/MZ0C/A60WGl6Q iCrA== 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:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=3kME2EF9Ppsi28UgPIICwP495cyQ+DOZsMHZYaDy/cc=; b=oz6qvO5COUNrN49AhREQ/vRaYLlC6XlrquzHK1zKatscDjDZCPklfYEb+lXuou8GLI PqlA8vr9kqKLnkDFdeZXqkjxczDorXDHsWzDokgTXCAoHBlfpoVDZMm03aPbaWXEeP4V J7TqRa34/VHf3EgungKsKo1rZq22KTzQ7Q7aNtA046uuDScnZ1YgOQHtJkoeb+FOqIGP /lYC11OiETPpC3W1YvC8jioos/tEr+yZoXOElthWmSzvndTXbFhj5i0vcz2aBQdsg4ZM TcpVaeiOdCKMh1w/IwPQDBi4edGfrfazZ3S3zqEDNyY/RK0AIPLZ+/1D6M9o8uc5Rb1A 02Uw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version: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=3kME2EF9Ppsi28UgPIICwP495cyQ+DOZsMHZYaDy/cc=; b=by+cNbJ1G/szcMlNuX8yJP64dBeT3yhhlxzH6x2nK1jCvByP2sZft8ZmeYSjWAmb/M u6GbeDCXBMIq/844hIizodSpOivSXL3pIEPhcgKJx8+RNy9CcXyRFfD7ZYU57VxdgDny 1aLdFI6Z/gTZaYPWZeFmpLKokIXcHuxmgxSTZRsszffFDpEGK7dOSzbEJheGe4cniOqp rchEtzQTd6MkFrPxPsnjCs2R23xYP/i7e9BNqTYQSdimD2O73Rnsa62phmr6GpN1SFtf tffBkkh44OV5U4cp++428fbVsKkc+03RhQfqZMrgzG7c7ENNd/ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :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=3kME2EF9Ppsi28UgPIICwP495cyQ+DOZsMHZYaDy/cc=; b=ogiKa0zmjsq5skaeVqmigJg2nXSZ+nxGilIxc/q/a2F8Kin3MEVtzALsAR0z9lQgfN 7AvBaN6yu6o0eI5W93dbuyikbTZxojY/4fqccISt8nJE5w65e4ODhZy5grC0P3SsAksB T2/hD3q4V/GhtJGPH8qr11+kZt9mS06YUFxGNGmdef+NtDiLcykjIt/pEuDBPA8yAVNv oactRnAMdT1ujzRq88I8DZUYbtOTaDFoZ4GXV3r4fgqbopEmPjycYxEZdZaFU58jhTEp Hqwrr Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530XUx3w3Rsn16YeFfaBeE4UdnsCrtgMRZH3SEmLyQlVxPfGQE6s vW+fRv7sY63/SN55dEeMUts= X-Google-Smtp-Source: ABdhPJxpsyXSwJWPxkurEJsHk2q9zQdR8AU/1EJLNADN5A0LnugKM0snfD9fni5f5pg2UgQS8XbUwA== X-Received: by 2002:adf:a285:: with SMTP id s5mr27655317wra.468.1639331798572; Sun, 12 Dec 2021 09:56:38 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1c:770f:: with SMTP id t15ls2239799wmi.3.gmail; Sun, 12 Dec 2021 09:56:36 -0800 (PST) X-Received: by 2002:a7b:cf28:: with SMTP id m8mr9023550wmg.175.1639331796449; Sun, 12 Dec 2021 09:56:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639331796; cv=none; d=google.com; s=arc-20160816; b=w02hlb/3yIUk+DUiGS4AQcDBFb0A4N62FufeYbIVI4dlnBegtbje8+57YVMpDQbWGf 5BBeIO2UKgeQ3zZqsBpVEEUfpme98K4P7FR4UKmB1HhjHhi+iVvwu8+Q534t9ZXOkBKp NNi02F07DorCMH/kA5EQn4u0wzrDf6f4mouE5I5wrTBkIAHh4txA26Q8/EP5AfGF7tQn hICisfcaKV+r0i/ETrZsVfx4jFajqvtQuieiJOx4QZm26qeQxGFUpOIceHPs/t4udiL0 uw1VwsOCLalUmM5GNfjJJHXdSf43UqOSS7BN+c5u1rII24WiEu+S/RrZ6Dw3oqSJhE2y pKBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=b7XfGvnHAUKBI7y7vQ0jm6ZOSRHKZxNpBVdHD0hk1Bc=; b=BdldbdiAgyZAXLISyJU5aHmfyetmnbDfSVp0YDm41BkNP6vtUYEtscExBmOOMZJkI5 q0NsykMDqWn/YmtPzhMZqylWRw80WlDAI64ml83TAUoogirNNp+ocwUgozZYsNYJIFQH xzbLTdfFplkEqzwQ5MUk7e/OyKDgfay5dPCeBWRGOhCBLViWxmu18/4ysvqTyOl9zNhn EM3ajr366tq1d53Jxh+BSnT8FT8LueTaIQSyMx9BmoIcMJBoL4Wm3vDSFRn6/op9hHJd TIdM9O7KorABi7JhzqZnnSFeb0qxB7wQgWN63pFOBtwvDbTfZ7M3XSRehZceo5gXtzRN EV0A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch. [130.92.0.83]) by gmr-mx.google.com with ESMTPS id o29si376174wms.1.2021.12.12.09.56.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Dec 2021 09:56:36 -0800 (PST) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) client-ip=130.92.0.83; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-02.campus.unibe.ch [130.92.13.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id 4394150014C for ; Sun, 12 Dec 2021 18:56:35 +0100 (CET) Thread-Topic: What might be a good way to process macro's in markdown Thread-Index: AQHX72cYD0RCkg7BwUS2MG+8x1muPqwvJFuB In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-CH x-originating-ip: [130.92.13.161] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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.io gmane.text.pandoc:29765 Archived-At: Have a look at http://christophe.delord.free.fr/pp/ ________________________________________ Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im A= uftrag von Pum Walters Gesendet: Sonntag, 12. Dezember 2021 15:46:45 An: pandoc-discuss Betreff: What might be a good way to process macro's in markdown What might be a good way to use and process macro's in Markdown. The docs h= ave an example of variable-substitution, but not of more general macro's. A macro might look something like ... ordinary markdown ... <<* name args >> ...body... <> ... ordinary markdown ... where: * the name is an identifier * each arg is an identifier, number or string in quotes * the body is arbitrary text * Obviously, the parentheses <<*, <> could be anything that the= parser could recognise Ideally, processing can be done in Lua, and the result of the macro is to b= e processed further, to generate Markdown, LaTeX, HTML or other languages. Any thoughts? -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ea6c613e-6f98-4db4-b714-3b2fce85c090n%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/47a030fe791048779b1ee789f0e3749c%40unibe.ch.