From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30799 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Way to have markdown ==highlighting== show up as highlighting in .docx or .odt files? Date: Wed, 22 Jun 2022 19:44:49 +0200 Message-ID: References: <9995ee8a-295e-1836-5645-9bb5ff76445d@reagle.org> <9d89679a-94dc-2459-822f-93dbe4cbca57@reagle.org> <2cf7ddb7-c135-441c-8758-d780938bb5ffn@googlegroups.com> <489be9a1-e45a-4bee-ab8d-ce83ca7ed292n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000758e2a05e20ce587" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21972"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBH5KZWKQMGQEKRFKHEA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 22 19:45:08 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f60.google.com ([209.85.167.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o44Pc-0005b2-7k for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 22 Jun 2022 19:45:08 +0200 Original-Received: by mail-lf1-f60.google.com with SMTP id bp15-20020a056512158f00b0047f603e5f92sf5706657lfb.20 for ; Wed, 22 Jun 2022 10:45:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655919907; cv=pass; d=google.com; s=arc-20160816; b=QRRO3UJK2egdjQkVy/UDmpdn5DZmBMKtfcYS4rskUTOF8z1pS1uv6xuKejSmYv6O+a jQQ4HlK8ai47l6XCZgq6LIoEfCSBC3oiTTa9877+Ga5R/0kOGznjV6s7xmSqlNDWxxQL FHn+IVY0TR2aKbBf+ab74dxg9Js8Ys4HTrbHqTglQ2ZffDojIMi3uZnsY8+smIQM2cGj Q4mOCqgdCvlazoCLonYSHRrCyJfmEg0bkMburbZJB6mZYelHrpOCZW0vz/Eil4hCC6yq XXAWtNxTwQpZXMQIpyTGs7n80DEruQGmhuPOPATEQGc3Y0k+ddfkiS2hKy3IofG/Q4Bg VFYA== 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:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=/a9EOXHGSVeOVSqFDgine/vCdpD072TG4i+/HGgHqHc=; b=KIo/Kc+AjR1YPnx/RL8LALizKnMCcyGJXya9gIghRINbiSk+ZYQ/Bz2MgVEzN5uuIo N1KkU5rzTBbxhiGVEg2s1HI09z13h0d8z1+4KSmqBI+TuDkmKLDDDimctPLr6v79npRT wA7mvQRa89MSkW+vm4T4S8gKLF3VaNNkjfip4aATFviasKHG/kbFFWfAmzO+eU2O2/Wq 9nZDgU70uYHpFCqKZy9TOVd3SyRB9L1HMCyCLiRstyskiz5Qi7V9RfbjqWXl3shM+lWy fQrwmhr6ijUze4EubXO4CU9kAox82ipzRuASmQzWweYNwjfSFgqdR634VGg3GWaGV/Lf rKjw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.50 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:reply-to:from:date :message-id:subject:to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=/a9EOXHGSVeOVSqFDgine/vCdpD072TG4i+/HGgHqHc=; b=iBKJFFMpndSGJ9dtRsVRsvyHD6eKE1ezkcjDH8GWT69rDxYFa8OFyqbErkqVQW2yXQ BzeRTyGIEGf1HXqQLfZ4MJRCopHw1awZtEJGqKK2C2z5tM9dXq+7xIg5/3YzxgQI2QhC RZZ3nMy6So9TqRZVYKWCQE8FgOoVVuI/vNy0lBSUYL+Go8JEwMWrOtoZvGiRfPjpBgaJ bySf8BhEa25YP4HHp5/xV/OoAXIarxYptDtJaig23uetZOi5eA0hFOPuumv2351LyFaT QHhhHoDDmOBP5jIdMqspsFnO315ioEF4nSFWvjALfjN23QhX6XcWB+f/HpSPbnypCkxx vaGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to :reply-to:from:date:message-id:subject:to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/a9EOXHGSVeOVSqFDgine/vCdpD072TG4i+/HGgHqHc=; b=Wt5QCKIx56CEAawH0DZSCUFq5JsiUDfqfTbbGtbCk0IdCfnHqeTrlaysagb1qs8H6v MKoVCThZoObUMsqTyHZlAnHc7+5jJ66DoXnpbBgjY6vpmX74hBToD/5t0SXMpER95b2O BVxWEnnw5oZY6qmpuGneh1uhpv7fuw7DV2Z/rbxiSDWz6G3JeQVm++aLj7cE5WtVEVwT DGNCR6F+fkDD8U9NkeVsVRE4zHJKrA1s/1lyBybVOl0RVGaWUD2tVBswcim32ar33nWK uTC6EgFkhYxiTQwn8YgYjcLD63ThdzJp5oGWQFtHX/zL/Cd1zTkEYVyyx16uLfIsxgRA O+oQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/lpI+uBfNuPO33MLDi2UdhxJUBgCrjDFWHaTDR5GnEwI1feKqQ zHLPzU3+ppM9OfY6Plomk8c= X-Google-Smtp-Source: AGRyM1uVKli7Kk4y9wGBpXa/Xmw/i4ddD0k5T4kMZPfplRZf4c6+JL1ipR0NXRzKQLspqM8/0Cvvaw== X-Received: by 2002:a05:6512:3c93:b0:47f:3ebc:7dfe with SMTP id h19-20020a0565123c9300b0047f3ebc7dfemr2853230lfv.113.1655919907693; Wed, 22 Jun 2022 10:45:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:ac7:b0:47f:a16d:186b with SMTP id n7-20020a0565120ac700b0047fa16d186bls99394lfu.0.gmail; Wed, 22 Jun 2022 10:45:02 -0700 (PDT) X-Received: by 2002:a05:6512:2815:b0:47f:634b:8e8c with SMTP id cf21-20020a056512281500b0047f634b8e8cmr2732676lfb.213.1655919902019; Wed, 22 Jun 2022 10:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655919902; cv=none; d=google.com; s=arc-20160816; b=AKEP4Mr9Ri3NGuzjM75ozTlHOLQ9gtwzk8+BoydCI62/vMWyvlkvTCi2HfBdUoYr3c ynT0wG9QDHLiVm9T2UfRJ6gj0P2jhhi4mqrcc5+GxK5GBKGKLQ4Ou8oqG/PSFI+TqR/2 izQKkIaSp0wEUb69tWHFSk4R33tYHltjB82C5GXm13gkM+PceHADx1tH6jwSDXrSHjS1 f/KuHAfejrrfUxoRe6yjjWTZ19lTOWgrjnLBPgMqVqk/bslJ9WCTpCSTKzIEVAJa7ZkI ZjS9OsFfLvozO13OjFBCYGL35jlXH0PoIOa4hZf0c32iKF1l0GgkINY+mPZmQHFEEF+p NODA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=AZqPUn3d3CMp6z0kJeoXf/AE5HbA7pJSMNI3zvQ3gtU=; b=co/QBHwOJz5Nzrru84l61jfEQFZVo1ezxHaNYW6MHfScrKmQ0ZrxhaNwhPGgfZjGLb MJ4S4tA6yccI6EEFkozndfoKOf/6bsjJeuGFb3xPailQcK3OaC7OpI9iURtCZAr8Cjm5 /Qg+BSiDHdryOFaOUn99TMKh3iHf4y2cKUbDbYGJuIwrdq3IOk7cgqqiNXVQnOOhihEx KozbdHZKjVPQxwkQff71H6LhjTzZZn3I3iveGdYUXpzXNYU4hyMVACXsUvkL55+bPauj BvAnYIZbg4GAosDcsKFr0c0ZKAQesZLnZ6A7PNpfXNYGaqDSjZXB3Em57TwW1lFGkGl5 1RkA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.50 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com. [209.85.218.50]) by gmr-mx.google.com with ESMTPS id m2-20020a0565120a8200b0047f8d408064si248134lfu.4.2022.06.22.10.45.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jun 2022 10:45:01 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.50 as permitted sender) client-ip=209.85.218.50; Original-Received: by mail-ej1-f50.google.com with SMTP id h23so35794725ejj.12 for ; Wed, 22 Jun 2022 10:45:01 -0700 (PDT) X-Received: by 2002:a17:906:d552:b0:722:f60d:7b6f with SMTP id cr18-20020a170906d55200b00722f60d7b6fmr3232750ejc.717.1655919900722; Wed, 22 Jun 2022 10:45:00 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.218.50 as permitted sender) smtp.mailfrom=melroch-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:30799 Archived-At: --000000000000758e2a05e20ce587 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable According to the principle that it's better to find out what you can do with the tools you have you can use a span with a class, like `[text]{.hl}` and use a simple filter to convert that to Obsidian's syntax when processing with Obsidian, by choosing `markdown` as output format, or insert the necessary LaTeX markup when producing PDF (or arrange for the necessary CSS to be loaded if producing PDF via HTML.) ``````lua local eq_hl =3D pandoc.RawInline('markdown', '=3D=3D') local highlight =3D { markdown =3D { start =3D eq_hl, stop =3D eq_hl }, latex =3D { start =3D pandoc.RawInline('latex', '\\colorbox[named]{yellow}{'), stop =3D pandoc.RawInline('latex', '}'), }, } local hl =3D highlight[FORMAT] function Span (s) if s.classes:includes('hl') then if hl then rv =3D s.content rv:insert(1, hl.start) rv:insert(hl.stop) return rv end end return nil end `````` I'm not sure that the default LaTeX template always loads the xcolor package. You may need a modifier template. I can imagine you lose some in-editor preview, but you get reasonable output. HTH, /bpj Den ons 22 juni 2022 16:11Emiliano skrev: > Well, if you export in PDF through Obsidian the highlighted text is > rendered correctly but not if you use Pandoc. I do not export in PDF > through Obsidian because then I would be bound to the style of the active > theme, namely, I would see the PDF file with a black background (I use th= e > Dark Mode), font size, spacing, margins, etc. of Obsidian's active theme. > > Il giorno marted=C3=AC 21 giugno 2022 alle 18:44:42 UTC+2 paulschi...@gma= il.com > ha scritto: > >> Good question! Thanks for reminding me of this. But exporting to PDF in >> Obsidian with highlights should work automatically, no? >> >> On Tuesday, June 21, 2022 at 3:21:03 p.m. UTC+2 Emiliano wrote: >> >>> Any news about this feature for Pandoc? I use a lot the highlight synta= x >>> ('=3D=3D =3D=3D') in Obsidian and it would be great if I could render m= y >>> highlighted text in PDF (also in DOCX and ODT). >>> >>> Il giorno domenica 2 gennaio 2022 alle 17:52:44 UTC+1 Alx Nbl ha scritt= o: >>> >>>> My use case is different from paulschi, in my case i am trying to >>>> convert docx into markdown and generating '=3D=3D =3D=3D' syntax when = there is >>>> higlighted text in the docx file. >>>> >>>> On Sunday, January 2, 2022 at 3:09:42 PM UTC+1 Alx Nbl wrote: >>>> >>>>> Hi all. The '=3D=3D =3D=3D' syntax is also used by Joplin app. I woul= d also be >>>>> very interested by such a feature. >>>>> >>>>> On Thursday, December 9, 2021 at 6:29:51 PM UTC+1 John MacFarlane >>>>> wrote: >>>>> >>>>>> >>>>>> On CriticMarkup, see >>>>>> >>>>>> https://github.com/jgm/pandoc/issues/2873 >>>>>> https://github.com/jgm/pandoc/issues/5430 >>>>>> >>>>>> >>>>>> Joseph Reagle writes: >>>>>> >>>>>> > BTW: If CommonMark or pandoc were to support highlight, I would >>>>>> then wonder why not support all of CriticMarkup, which supports high= light >>>>>> as `{=3D=3D =3D=3D}` or `{>> <<}`. (It's a shame that we have two di= fferent >>>>>> syntaxes emerging for highlight.) >>>>>> > >>>>>> > On 21-12-09 11:10, John MacFarlane wrote: >>>>>> >> >>>>>> >> If this is a syntax that is becoming common, we could consider >>>>>> >> adding a markdown extension for it. You could open an issue on >>>>>> >> our issue tracker. >>>>>> >> >>>>>> >> Joseph Reagle writes: >>>>>> >> >>>>>> >>> This is the first time I've encountered [this syntax][1] and it >>>>>> is not natively supported by pandoc. Or am I wrong and you are sayin= g >>>>>> pandoc handles it when using the latex/PDF writer? (Or, are you sayi= ng >>>>>> Obsidian can export to PDF, but not Word?) >>>>>> >>> >>>>>> >>> I see there's been some discussion on the [CommonMark forum][2], >>>>>> but it doesn't look like you'd find an immediate solution. >>>>>> >>> >>>>>> >>> Using a filter or hacking something that converts `=3D=3Dfoo=3D= =3D` to >>>>>> [foo]{.highlight} that is properly rendered in Word might be options= . >>>>>> >>> >>>>>> >>> [1]: https://www.markdownguide.org/extended-syntax/#highlight >>>>>> >>> [2]: >>>>>> https://talk.commonmark.org/t/highlighting-text-with-the-mark-elemen= t/840 >>>>>> >>> >>>>>> >>> On 21-12-09 08:29, Paul wrote: >>>>>> >>>> I use a lot of highlighting in my markdown editor Obsidian, but >>>>>> I was wondering if there's a way to have that highlighting show up i= n the >>>>>> Word or Libreoffice Writer files? >>>>>> >>>> >>>>>> >>>> Bold and italics work fine, as far as I can tell, and when >>>>>> converting to a pdf the highlighting transfers great. I gather, howe= ver, >>>>>> that the =3D=3Dhighlighting=3D=3D is not standard in all markdown so= is that the >>>>>> issue? >>>>>> >>> >>>>>> >>> -- >>>>>> >>> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> >>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/pandoc-discuss/9995ee8a-295e-1836-= 5645-9bb5ff76445d%40reagle.org. >>>>>> >>>>>> >> >>>>>> > >>>>>> > -- >>>>>> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> > To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/pandoc-discuss/9d89679a-94dc-2459-= 822f-93dbe4cbca57%40reagle.org. >>>>>> >>>>>> >>>>> -- > 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/ba18ff15-897d-4a7f-bbd4-= 3735da206f1dn%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/CADAJKhCSGnvyAP%3DOSkNB_JRhwUgdtZ0Do8bNScw%2Bb-aQDWwzWQ%40ma= il.gmail.com. --000000000000758e2a05e20ce587 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
According to the principle that it's better to find o= ut what you can do with the tools you have you can use a span with a class,= like `[text]{.hl}` and use a simple filter to convert that to Obsidian'= ;s syntax when processing with Obsidian, by choosing `markdown` as output f= ormat, or insert the necessary LaTeX markup when producing PDF (or arrange = for the necessary CSS to be loaded if producing PDF via HTML.)

``````lua
local eq_= hl =3D pandoc.RawInline('markdown', '=3D=3D')

local highlight =3D {
=C2=A0 markdown =3D { start =3D eq_hl, stop =3D eq_hl },
=C2=A0 latex =3D {
=C2=A0 =C2=A0 star= t =3D pandoc.RawInline('latex', '\\colorbox[named]{yellow}{'= ;),
=C2=A0 =C2=A0 stop =3D pandoc.RawInline('lat= ex', '}'),
=C2=A0 },
}

local hl =3D highl= ight[FORMAT]

function Sp= an (s)
=C2=A0 if s.classes:includes('hl') th= en
=C2=A0 =C2=A0 if hl then
= =C2=A0 =C2=A0 =C2=A0 rv =3D s.content
=C2=A0 =C2=A0 = =C2=A0 rv:insert(1, hl.start)
=C2=A0 =C2=A0 =C2=A0 r= v:insert(hl.stop)
=C2=A0 =C2=A0 =C2=A0 return rv
=C2=A0 =C2=A0 end
=C2=A0 end
=C2=A0 return nil
end
``````

I= 9;m not sure that the default LaTeX template always loads the xcolor packag= e. You may need a modifier template.

I can imagine you lose some in-editor preview, but you get rea= sonable output.

HTH,

/bpj

Den ons 22 juni 2= 022 16:11Emiliano <gattul= li.emiliano-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
Il giorno m= arted=C3=AC 21 giugno 2022 alle 18:44:42 UTC+2 paulschi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org= ha scritto:
Good ques= tion! Thanks for reminding me of this. But exporting to PDF in Obsidian wit= h highlights should work automatically, no?

On Tuesday, June 21, 2022 at 3:21= :03 p.m. UTC+2 Emiliano wrote:
Any news about this feature for Pandoc? I use a lot the highlight = syntax ('=3D=3D =3D=3D') in Obsidian and it would be great if I cou= ld render my highlighted text in PDF (also in DOCX and ODT).

Il giorno domeni= ca 2 gennaio 2022 alle 17:52:44 UTC+1 Alx Nbl ha scritto:
My use case is different from=C2=A0paulschi, in my case i am trying to convert docx into markdown and gene= rating '=3D=3D =3D=3D' syntax when there is higlighted text in the = docx file.

On Sunday, January 2, 2022 at 3:09:42 PM UTC+1 Alx Nbl wrot= e:
Hi all. The '= =3D=3D =3D=3D' syntax is also used by Joplin app. I would also be very = interested by such a feature.

On Thursday, December 9, 2021 at 6:29:51 PM UTC= +1 John MacFarlane wrote:

On CriticMarkup, see

https://github.com/jgm/pandoc/issues/2873
https://github.com/jgm/pandoc/issues/5430


Joseph Reagle <josep...-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes:

> BTW: If CommonMark or pandoc were to support highlight, I would th= en wonder why not support all of CriticMarkup, which supports highlight as = `{=3D=3D =3D=3D}` or `{>> <<}`. (It's a shame that we have = two different syntaxes emerging for highlight.)
>
> On 21-12-09 11:10, John MacFarlane wrote:
>>=20
>> If this is a syntax that is becoming common, we could consider
>> adding a markdown extension for it. You could open an issue o= n
>> our issue tracker.
>>=20
>> Joseph Reagle <
josep...@reag= le.org> writes:
>>=20
>>> This is the first time I've encountered [this syntax][= 1] and it is not natively supported by pandoc. Or am I wrong and you are sa= ying pandoc handles it when using the latex/PDF writer? (Or, are you saying= Obsidian can export to PDF, but not Word?)
>>>
>>> I see there's been some discussion on the [CommonMark = forum][2], but it doesn't look like you'd find an immediate solutio= n.
>>>
>>> Using a filter or hacking something that converts `=3D=3Df= oo=3D=3D` to [foo]{.highlight} that is properly rendered in Word might be o= ptions.
>>>
>>> [1]: https://www.m= arkdownguide.org/extended-syntax/#highlight
>>> [2]: https://talk.commonmark.org/t/highlighting-text-with-the-mark-element/8= 40
>>>
>>> On 21-12-09 08:29, Paul wrote:
>>>> I use a lot of highlighting in my markdown editor Obsi= dian, but I was wondering if there's a way to have that highlighting sh= ow up in the Word or Libreoffice Writer files?
>>>>
>>>> Bold and italics work fine, as far as I can tell, and = when converting to a pdf the highlighting transfers great. I gather, howeve= r, that the =3D=3Dhighlighting=3D=3D is not standard in all markdown so is = that the issue?
>>>
>>> --=20
>>> You received this message because you are subscribed to th= e Google Groups "pandoc-discuss" group.
>>> To unsubscribe from this group and stop receiving emails f= rom it, send an email to pandoc-discus...@go= oglegroups.com.
>>> To view this discussion on the web visit https://gr= oups.google.com/d/msgid/pandoc-discuss/9995ee8a-295e-1836-5645-9bb5ff76445d= %40reagle.org.
>>=20
>
> --=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 email to pandoc-discus...@googlegrou= ps.com.
> To view this discussion on the web visit https://groups.goo= gle.com/d/msgid/pandoc-discuss/9d89679a-94dc-2459-822f-93dbe4cbca57%40reagl= e.org.
<= /div>

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ba18ff15-8= 97d-4a7f-bbd4-3735da206f1dn%40googlegroups.com.

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhCSGnvyAP%3DOSkNB_JRhwUgdtZ0Do8= bNScw%2Bb-aQDWwzWQ%40mail.gmail.com.
--000000000000758e2a05e20ce587--