From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31840 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: - Newsgroups: gmane.text.pandoc Subject: How do I replace a string in all text that pandoc converts, i.e. how do I do this with a filter? Date: Mon, 5 Dec 2022 09:49:08 -0800 (PST) Message-ID: <83eeff5c-8fc3-4ca3-862c-bb85790daabcn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5570_829029151.1670262548364" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35872"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDR3RNPJ3YORBFO6XCOAMGQEP4GZMZQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Dec 05 18:49:14 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p2Faa-00097g-Os for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 05 Dec 2022 18:49:12 +0100 Original-Received: by mail-ot1-f62.google.com with SMTP id bv12-20020a0568300d8c00b0066d2c98ca10sf7016960otb.1 for ; Mon, 05 Dec 2022 09:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=vfnFcNkNYFDkD65y0C/9+Dp8O2SxeXPTx0xgZMZvFto=; b=RxoIG10+SRTsOK2OJ3WOvMaWoKmsTxqIUh3TTUVPxYKGaNcKS3klmZJzcZg5Sd9fSd zfN5LqmOiaETK2L9rlFOoRzyP10jTpLhF17a6rhBiyo33SUO7KyibibFWdG4MsDSb6sF gFTmNVTkNhbEiUIB4TOohLfsUGMG/3Apwwn+4NqbYaB+azyHiX4YzbvzVDlXrLyFoBn/ fpHS4jEcC5MOE+WtuT7sqJS3MrNQ7Rp78hUxrJ219liUOCoQ7DaqD3iXHiGy8a/PTEYB E7uH7x6yPbyOcUBPVUd3qFK0cSDrOJIJ8GMNH1x3xkdEO1LNkAzBeYdRBcuCCqOy1zcT wCPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=vfnFcNkNYFDkD65y0C/9+Dp8O2SxeXPTx0xgZMZvFto=; b=D6S2YEjByd2ri5X/rkDYqDEfLyQAZChya/aaGzqaPRR8AEOUUt+9iXcID5pdjq0nJc yxtfxmphqWjxAYj/voKtzIuVF3Ir1g6P02R2prZgaXWIbzQhLhgm3jMOhmV+0ewKuphy ygJK1a20InYYhTgVR7Ve/cNrq9WJvlrYYi7jrcOt1oZ4ShYC45xBL4GWc1ymWCCZOi3G R/lGZA2HDs0LVnWM9SN8+ifsMhhjN3LXjm27AZvt/idz4vUdmDjwnvPP9CVNEsd6KRL5 c5z7NrHdtdPWLWlD6aqcGKbSZHH0TE+gOj1PSPefVLXPf0y2uI2es8FO0Ly5da7c8iky F1dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=vfnFcNkNYFDkD65y0C/9+Dp8O2SxeXPTx0xgZMZvFto=; b=CdSc6/+xy4cqFVZEqBUxHpj/OjeXbw+SKWc4zRydnI0t/ieRPivWddCsmuSO858qN7 ymDTWxjc0JfBG+m9DSSNcIMdFeaiVA8F0t6NuLqZm/Zr0ZHKbq329P8rmXRu8/GL9jvN E/anpCZZpQSSqdBUw8HTiG8zaBWCOLIbt79LtqMe19fAWNS57YI8soZX3gA/DqxyK1ui I+1yl+82RCrTvZ9R+OOMSoRMwp51UZ128qFGLFjVLGXBD0Iurj0re/Rzaul6sE72vBZh 4l2KvSFIrKRvlM3AMC52Lt0JYwivE1gr80JyKLi8HL4RvIpPGUJ8vrUtxfLVHp+VBgVC UoYQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pnnbja/4rK0/++v3vp8avOYgdaRppXCafJr5tOdKpSTAqpw4mBZ OZbuZsw4TSxA419DjC0+iSc= X-Google-Smtp-Source: AA0mqf7/XBTvsQNnqR8HDds0pxADVN62j+m5/l3DvyB3FB0ISBxD4OfdGGWP72sCrF1JnU4K8PEKdw== X-Received: by 2002:a9d:6c10:0:b0:66c:61fd:887c with SMTP id f16-20020a9d6c10000000b0066c61fd887cmr40553954otq.300.1670262551638; Mon, 05 Dec 2022 09:49:11 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:6612:b0:66c:812b:432e with SMTP id cp18-20020a056830661200b0066c812b432els1019800otb.2.-pod-prod-gmail; Mon, 05 Dec 2022 09:49:09 -0800 (PST) X-Received: by 2002:a9d:4c93:0:b0:66d:6164:16f5 with SMTP id m19-20020a9d4c93000000b0066d616416f5mr41493371otf.207.1670262549046; Mon, 05 Dec 2022 09:49:09 -0800 (PST) X-Original-Sender: paulschillinger93-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.io gmane.text.pandoc:31840 Archived-At: ------=_Part_5570_829029151.1670262548364 Content-Type: multipart/alternative; boundary="----=_Part_5571_2036882444.1670262548364" ------=_Part_5571_2036882444.1670262548364 Content-Type: text/plain; charset="UTF-8" I've been trying to replace markdown/Obsidian highlights "==" either with something that LaTeX can use e.g. \hl or just delete it/replace it with nothing, but I can't figure out how to do this. I've tried this: function Str (str) str.text = string.upper(str.text) return str end But I can't even figure out where I'm meant to put my own text? How do I rpelace == with " "? Thanks! -- 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/83eeff5c-8fc3-4ca3-862c-bb85790daabcn%40googlegroups.com. ------=_Part_5571_2036882444.1670262548364 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've been trying to replace markdown/Obsidian highlights "=3D=3D" eith= er with something that LaTeX can use e.g. \hl or just delete it/replace it = with nothing, but I can't figure out how to do this.

I've tried this:
function Str <= span>(str) 
=
str.text =3D s= tring.upper(str.text)
= return str
end

<= /span>
But I can't e= ven figure out where I'm meant to put my own text?

How do I rpelace =3D=3D with " "?

Thanks!
=

--
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://groups.google.com/d= /msgid/pandoc-discuss/83eeff5c-8fc3-4ca3-862c-bb85790daabcn%40googlegroups.= com.
------=_Part_5571_2036882444.1670262548364-- ------=_Part_5570_829029151.1670262548364--