From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31752 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Laurent Duperval Newsgroups: gmane.text.pandoc Subject: Re: Filter for inline syntax extensions Date: Sun, 13 Nov 2022 13:55:56 -0800 (PST) Message-ID: References: <87edyle8l2.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2594_2080281682.1668376556181" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34010"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDPOD4HJ3YBBB3OPYWNQMGQEMHDDU4Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Nov 13 22:56:01 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f64.google.com ([209.85.210.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ouKxN-0008aw-7s for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 13 Nov 2022 22:56:01 +0100 Original-Received: by mail-ot1-f64.google.com with SMTP id v17-20020a9d7d11000000b0066c33c3e0easf5359082otn.11 for ; Sun, 13 Nov 2022 13:56:01 -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:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=+RsNtrGx0rkT52E2bV/g0JzUMHgrv6EeDCI0YsMmKO8=; b=dkTfYzCzS+4vVZR/k0XOukulh9C3neI69hGpmq4TLLlYcgfbabAdRluWSK7TSy25lR LxwYcw+ZjMiatYDMb7W6w7/KOH8mcC3LySVbr4B2FAS8nh0KD74WfuxpicehnBB1cnFc ZvJmwl0cH0bf4nnmp/1+TnOM+wq79pALvUsr7FLIL4Ej6U18uydtHNLq/Ld2Eas7q808 fRcmkcboUwNNIaP9LMmTsV86OPoLQ1imcGJX/N3NGwsBmJOPdqmCUWm7tfh2fXzn5j0+ 4FgLFyfMOeSwv7iE+itP7BzhEpDSrnNLy6hIiw68YPVjr4kqizNBzBA8FkDyj7T+gw5c /qaw== 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:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+RsNtrGx0rkT52E2bV/g0JzUMHgrv6EeDCI0YsMmKO8=; b=d3BZn98aqf8YAwITkyREyNEstS5ErGC4tcRnFQ5Hsvngtfuj/RaD0oS4Fg5b3DN7Ug 1hcrXM11L9zf43mXSgX6eBSggjmDNvd8oobWwK4rN0WQDqMAXSCuO994iAX+fLeGxcS2 ZI9g8HehwOK/QGy8FGRcbdVHylTe4ZNyUdxZiue4HeXrB8imPETyOuYfnvjtxGPVabk7 TQAd8BY6sVsjxuWUgWI3Uy0H9CFqh0TnjLWU1nzR18MhCMNwAvI9CfdmxTOF+yo5PRwU L6MMaHm86BRn/rozyWL6BrSSwj8R77QyUCP528T7GYiOprUHNYe/exzLQgeAR7AdgxLX EkdA== 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=+RsNtrGx0rkT52E2bV/g0JzUMHgrv6EeDCI0YsMmKO8=; b=IYuGKBxZt6Xc1xCH3RZ3Wx188e9RNL0TfscMcU7/aQEIdMiSX0OuL6LiU8bQDpnfsi SrNc6qH/rSoTz/ByAygCkVZpSnvHbR8IuLmjD39Pk5nytDhTt3Onm96LyZf1jST9pD1i 33nFXrsPwqNIlP5JTtbqguaLXnKP1lVqjmV89HkZI3OWQ+2PwZhcStmnSoqPQSHYDmVr cWfCJi4MOkx5/ygnVsqLFgBj1luBQIN6Yy3hIX5/NIi94LlKmwX1YziLiGtcL8S11r24 fES3uV0OIKA4A4FcWfVtg3N0PcKH60XAUrh/gdzkWsJNxRaAySDBYzgei1XZINeg+fdB 8NyA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pn6SqCi+E5PkGr7F6C8lFhBy9sVDfJG+L9lHvU5dGj6m25xN6uv 1vIbKPpYgh1Q1gDHZYRX08Y= X-Google-Smtp-Source: AA0mqf75WeAd1AOc+9+t5y8nPpwmoxoOrQDgH67wxB+B55e/SC7PptPFNAzK51u40ajG3/TA4QnG5g== X-Received: by 2002:a05:6808:1893:b0:359:fb95:6ea9 with SMTP id bi19-20020a056808189300b00359fb956ea9mr4455247oib.39.1668376560121; Sun, 13 Nov 2022 13:56:00 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:7688:b0:13b:6766:edd8 with SMTP id dx8-20020a056870768800b0013b6766edd8ls3206929oab.3.-pod-prod-gmail; Sun, 13 Nov 2022 13:55:57 -0800 (PST) X-Received: by 2002:a05:6870:7d81:b0:136:d212:8df6 with SMTP id oq1-20020a0568707d8100b00136d2128df6mr5694967oab.244.1668376557241; Sun, 13 Nov 2022 13:55:57 -0800 (PST) In-Reply-To: <87edyle8l2.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: lduperval-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:31752 Archived-At: ------=_Part_2594_2080281682.1668376556181 Content-Type: multipart/alternative; boundary="----=_Part_2595_888200729.1668376556181" ------=_Part_2595_888200729.1668376556181 Content-Type: text/plain; charset="UTF-8" HI, I know this message is pretty old but is there a place where I can find this extension and how it works? I'm using the highlight.lua approach from here (https://gist.github.com/tarleb/a0646da1834318d4f71a780edaf9f870) and it works when exporting to PDF but not when exporting to ODT or DOCX. I'm not sure why. I would relly like a way to make this work reliably with ODT. Thanks, L On Saturday, July 16, 2022 at 5:00:01 AM UTC-4 Albert Krewinkel wrote: > I've been playing around with a filter that adds additional markup > syntax. In my example it uses `==highlight==` to add highlighted text. > Highlighted (`mark`ed) text is only supported with HTML output, support > for other formats would need some extra work. > > The filter comes with all the downsides of adding a second parsing step, > but it works well in most cases. It can also be modified to support > different markup. > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > -- 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/b1e8933e-04eb-47b7-9cbb-2a5a58ea51c5n%40googlegroups.com. ------=_Part_2595_888200729.1668376556181 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
HI,

I know this message is pretty old but is = there a place where I can find this extension and how it works?
<= br>
I'm using the highlight.lua approach from here (https://gist.= github.com/tarleb/a0646da1834318d4f71a780edaf9f870) and it works when expor= ting to PDF but not when exporting to ODT or DOCX. I'm not sure why. I woul= d relly like a way to make this work reliably with ODT.

Thanks,

L

On Saturday, July 16, 2022 at = 5:00:01 AM UTC-4 Albert Krewinkel wrote:
I've been playing around with a filter that= adds additional markup
syntax. In my example it uses `=3D=3Dhighlight=3D=3D` to add highlighte= d text.
Highlighted (`mark`ed) text is only supported with HTML output, support
for other formats would need some extra work.

The filter comes with all the downsides of adding a second parsing step= ,
but it works well in most cases. It can also be modified to support
different markup.
<https://gist.github.com/tarleb/a0646da1= 834318d4f71a780edaf9f870>

--=20
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124

--
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/b1e8933e-04eb-47b7-9cbb-2a5a58ea51c5n%40googlegroups.= com.
------=_Part_2595_888200729.1668376556181-- ------=_Part_2594_2080281682.1668376556181--