From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29739 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Newsgroups: gmane.text.pandoc Subject: Re: Way to have markdown ==highlighting== show up as highlighting in .docx or .odt files? Date: Thu, 9 Dec 2021 09:16:20 -0800 (PST) Message-ID: <8a493a1b-4a76-4ff5-8282-d87ceb96d982n@googlegroups.com> References: <9995ee8a-295e-1836-5645-9bb5ff76445d@reagle.org> <9d89679a-94dc-2459-822f-93dbe4cbca57@reagle.org> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1126_2041616714.1639070180457" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9793"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDR3RNPJ3YORBZPTZCGQMGQE5Y2YW6Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 09 18:16:24 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mvN1r-0002CJ-Gw for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 09 Dec 2021 18:16:23 +0100 Original-Received: by mail-oo1-f62.google.com with SMTP id y123-20020a4a4581000000b002c282d3ab49sf3669229ooa.14 for ; Thu, 09 Dec 2021 09:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=J0uTuSeEzxkRtQTaGUYCud6wwaMVTdUXMUHoyff6cyQ=; b=iof2Uoi3VG/hZ2HKmKOMrIEoWONib7tfuAyAR52fgfufXYnr6JYxXoK0XaRLxn8q3b 1EYoZf19xc+MEPXK5B0trxyxG6fo2NYQ2XxVgJ65paPmUSRHgcWST58oagForZ1rYtAm MtSgmDFQMh+Lf7wVIne8UNMNFl+DE1Wi/W59Xey5ke/DVAfFLX54zpq6nevtEzdTfzNE WbAU00YBZrEU1iw/LALqRwOxWdGa2xvikHoJjDQmno8oahv6kD32KI9feLjXrOmOPhkx dLzRkdclSGpRfAz6cdTYx+2ToRVSqpsL+icnWCOPtbABBZO0inu/1qFFZgrD4S+UAvhB M2KA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=J0uTuSeEzxkRtQTaGUYCud6wwaMVTdUXMUHoyff6cyQ=; b=Gke+Q5+Fqjlpvn0/GKn988vQPca6+zbJ2Hsjg/57T6CAKGgjBf5tJKsJAloinli6kP kK9AonbmkPyGmSAxeRrwo6XQLJ4/TjoIDoNL0nmXPRXY0dI9E2IJrsC35QGUkDFw50kE l2Va7X+1giIyIneNzMei0zKzoAXOy/vbZM6IBm0QP/E6TBr6p6GOhVILN2aGH9nCoj+3 gWBxTEuzRNtonFmp/KVKJavm1PSfbQ2KAaWbsjdfhN2MnJiZhfnO/ic6eWFkQhMEJm58 ut2kpmsg0m6bvhvy12xO7rY5lxYLMA+wtV523fZRGe7ScJ/of+5yTmlXvVs5exPuO//g eQPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=J0uTuSeEzxkRtQTaGUYCud6wwaMVTdUXMUHoyff6cyQ=; b=YnTT8a/I51HuzxzAWRd6BpSrPJLpj/ghoh8ZUBoXAu63FAjeAeT2OgEC784945lWm5 a+vEUGy3kyK5AWaaDSD1i4vjmDGTR4mahLYWaySLNuVP3gn2BKmlblAC/9+bULSDwLL1 s1hYtDIvxQPQ+SOjfA8Rq8n3v2DFILvjWLGO7v/MDEp6M1Crgk8H/3Ovmr2vHZ4aqJvV C6nkLFuRtPsacDdiKRdUq9MrBnrPJKOt7HJWskAJNwT8+mNN4x7I/O1n4NY0mqQqsNSq Kg+liNxrox0TrX9wKY47fiZ7mxOc4uovwox1jUSQQ362xabLvL8z/usbQGv7N1hZwlrW LOiA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530/HiFH9J7SLGlvx4rWInI8PNI2Yjsx8Z7slGiinrNFXhnRQUJU xcWj3pKJ8zvHW7POZtAaffg= X-Google-Smtp-Source: ABdhPJwpuAptUNP7of8cZ86YXQ6PiwNwyItPv4zjd9Y1bJffADVG+ErO0U1GgJWLYATZjSea8t1o0w== X-Received: by 2002:a05:6808:144d:: with SMTP id x13mr7292754oiv.25.1639070182422; Thu, 09 Dec 2021 09:16:22 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:438e:: with SMTP id s14ls1586332otv.7.gmail; Thu, 09 Dec 2021 09:16:21 -0800 (PST) X-Received: by 2002:a05:6830:3185:: with SMTP id p5mr6588779ots.222.1639070180952; Thu, 09 Dec 2021 09:16:20 -0800 (PST) In-Reply-To: <9d89679a-94dc-2459-822f-93dbe4cbca57-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 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:29739 Archived-At: ------=_Part_1126_2041616714.1639070180457 Content-Type: multipart/alternative; boundary="----=_Part_1127_1236892172.1639070180457" ------=_Part_1127_1236892172.1639070180457 Content-Type: text/plain; charset="UTF-8" Well, to be honest, I've only really been exposed to markdown through Obsidian.md and they implemented highlighting with '== ==', so until I started looking up how to get that to show up in a converted .docx file I didn't really know it wasn't common practice :) On Thursday, December 9, 2021 at 6:11:59 p.m. UTC+1 Joseph wrote: > BTW: If CommonMark or pandoc were to support highlight, I would then > wonder why not support all of CriticMarkup, which supports highlight as > `{== ==}` or `{>> <<}`. (It's a shame that we have two different 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 saying 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 solution. > >> > >> Using a filter or hacking something that converts `==foo==` 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-element/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 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, however, that the > ==highlighting== 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8a493a1b-4a76-4ff5-8282-d87ceb96d982n%40googlegroups.com. ------=_Part_1127_1236892172.1639070180457 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Well, to be honest, I've only really been exposed to markdown through Obsid= ian.md and they implemented highlighting with '=3D=3D =3D=3D', so until I s= tarted looking up how to get that to show up in a converted .docx file I di= dn't really know it wasn't common practice :)

On Thursday, December 9, 2021 a= t 6:11:59 p.m. UTC+1 Joseph wrote:
BTW: If CommonMark or pandoc were to support highligh= t, I would then 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 on
> our issue tracker.
>=20
> Joseph Reagle <josep= ...@reagle.org> writes:
>=20
>> This is the first time I've encountered [this syntax][1] a= nd it is not natively supported by pandoc. Or am I wrong and you are saying= pandoc handles it when using the latex/PDF writer? (Or, are you saying Obs= idian can export to PDF, but not Word?)
>>
>> I see there's been some discussion on the [CommonMark foru= m][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 opt= ions.
>>
>> [1]: https://www.markdownguide.org/ex= tended-syntax/#highlight
>> [2]: = https://talk.commonmark.org/t/highlighting-text-with-the-mark-element/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 u= p 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, however, t= hat 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 the Go= ogle Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from = it, send an email to
pandoc-disc= us...-/JYPxA39Uh5TLH3MbocFFw@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.
>=20

--
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/8a493a1b-4a76-4ff5-8282-d87ceb96d982n%40googlegroups.= com.
------=_Part_1127_1236892172.1639070180457-- ------=_Part_1126_2041616714.1639070180457--