From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30780 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: - Newsgroups: gmane.text.pandoc Subject: Re: Way to have markdown ==highlighting== show up as highlighting in .docx or .odt files? Date: Tue, 21 Jun 2022 09:44:42 -0700 (PDT) Message-ID: <489be9a1-e45a-4bee-ab8d-ce83ca7ed292n@googlegroups.com> References: <9995ee8a-295e-1836-5645-9bb5ff76445d@reagle.org> <9d89679a-94dc-2459-822f-93dbe4cbca57@reagle.org> <2cf7ddb7-c135-441c-8758-d780938bb5ffn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4768_690906990.1655829882276" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38308"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDR3RNPJ3YORB67KY6KQMGQEMM365FI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 21 18:44:47 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f186.google.com ([209.85.128.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o3gze-0009mG-IS for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Jun 2022 18:44:46 +0200 Original-Received: by mail-yw1-f186.google.com with SMTP id 00721157ae682-31797057755sf72974457b3.16 for ; Tue, 21 Jun 2022 09:44:46 -0700 (PDT) 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=NeclHFAHYCQYlDK/IxIoEB6t4WdVAotZA11LO6siQ5Q=; b=co6aT4TQ9H469chwBKXZXXwMPUXjOoO3vm+JC76y//Im8tCTpfdgH+uT1pWAnmb/88 B3QG68GPTT08i+1FSPqSMGUTa6f+Aya9M0PAs94HZ5ck4XrjEopGZEH65ijA1rbeIjW1 s8X3AX+6f6bbQxA2hLqZDhf7U2sTt2ypp8ECmUFCp87s3Wxuo8g0GsttFY1Xpfyrm5aO d9zLVME1jBRz4i+z3PoaAFtAkp/jNpyc12A9njyGFi+JVrrSGvDE/sDWpteORuopVE8s 5hcEh5G+Cm72HWvUDyaljMtOzhiNE35ZPRqR6nFcxKFYfF6/d4zS/Z9o5YNXXVZ+UqvG 2JJA== 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=NeclHFAHYCQYlDK/IxIoEB6t4WdVAotZA11LO6siQ5Q=; b=JXoakprM7fE4rYPOEpDPI6EFJJZzXsfhuMTZlePmyq5bYW7EB2y8MAM3FbU+90uRK1 /k8GK3yAJwA5XZWQI0wfz+ZsMDDVIGb4So3UUlpiLKXP4P74pxW1oUMmBEVQT2cllt90 GZfFQggNmYC5Sw4rDKplkAApskTP+X4HIx2T2GKkBpBV587HEQyBdeK+JlHeyIshpU5L FVKo1jMco6COrae3XhMGYsW7+DHWR2m9lY6HBSEMZqWC+8hSgivVwFScvSBhVlYlgQls xoIhHt270071o2d4xCfITZu9BHcVQOfsU48r9xzqdPRr6C96k0Be1YK6HFxm8xhmoLx1 bDBQ== 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=NeclHFAHYCQYlDK/IxIoEB6t4WdVAotZA11LO6siQ5Q=; b=8Eo6aKpquFbVku75vaCMNDfdajqPxGNFFDDW8kVpq0xuQK2hZa3cWK9yQkWHlsYthd 2ZfVymGM4Y7X9c9PEPBQGAbiYnfv5BFAs12iPH1HQktlQqK4ZX5mvm5SQTmIdulG+OTc lu80t2tTJRPRUyNNsmyv7Ba7fv6sLG13ZApZaPRuYOnQW5VPkInyzYeQlQdYhYusqD89 h/fv2W64yP6Ab5vX//UDfJOgTlj2wZZoO4TkusVbcqYhq9Qh4PY+lK/Lu25Dhh4Aqex8 TufH9on+SrO8EtenC3vT/bj5tkNZL2KLFATO04s1kzXx7z05lRERHFC2l0PZpJpEqtw9 P+Lw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8Ce7LZ8945KnKOqcD43dZAkZ8jkHgZFi1FgMTFaSEx/tzH40+e AZLThxdmCNqoOLzmHIHyYNY= X-Google-Smtp-Source: AGRyM1sn1osvHAWLzmFhXq+XRVpAP4Zmeflem1Z5sqazO5lF/pECvt2rG+wrvSRT/V4Ip/V7T71Xog== X-Received: by 2002:a0d:eb53:0:b0:317:75a2:5a91 with SMTP id u80-20020a0deb53000000b0031775a25a91mr30817038ywe.240.1655829885509; Tue, 21 Jun 2022 09:44:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a81:3a95:0:b0:314:10e1:1099 with SMTP id h143-20020a813a95000000b0031410e11099ls7500557ywa.6.gmail; Tue, 21 Jun 2022 09:44:43 -0700 (PDT) X-Received: by 2002:a81:5856:0:b0:317:8892:69d2 with SMTP id m83-20020a815856000000b00317889269d2mr23648218ywb.186.1655829882833; Tue, 21 Jun 2022 09:44:42 -0700 (PDT) In-Reply-To: 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:30780 Archived-At: ------=_Part_4768_690906990.1655829882276 Content-Type: multipart/alternative; boundary="----=_Part_4769_886212274.1655829882276" ------=_Part_4769_886212274.1655829882276 Content-Type: text/plain; charset="UTF-8" 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 syntax > ('== ==') in Obsidian and it would be great if I could render my > highlighted text in PDF (also in DOCX and ODT). > > Il giorno domenica 2 gennaio 2022 alle 17:52:44 UTC+1 Alx Nbl ha scritto: > >> My use case is different from paulschi, in my case i am trying to >> convert docx into markdown and generating '== ==' 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 '== ==' 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 writes: >>>> >>>> > 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-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/489be9a1-e45a-4bee-ab8d-ce83ca7ed292n%40googlegroups.com. ------=_Part_4769_886212274.1655829882276 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Good question! Thanks for reminding me of this. But exporting to PDF in Obs= idian with highlights should work automatically, no?

On Tuesday, June 21, 202= 2 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 could render my highlighted text in PDF (also in DOCX and OD= T).

Il giorno domenica 2 gennaio 2022 alle 17:52:44 UTC+1 Alx Nbl ha scritto:=
My use case is different fr= om=C2=A0paulschi, in my case i am trying to convert docx into= markdown and generating '=3D=3D =3D=3D' syntax when there is higli= ghted text in the docx file.

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

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

On CriticMarkup, see

https://g= ithub.com/jgm/pandoc/issues/2873
https://g= ithub.com/jgm/pandoc/issues/5430


Joseph Reagle <josep...-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> write= s:

> 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...-T1oY19WcHSwdnm+yROfE0A@public.gmane.org&= gt; 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.markdownguide.org/exte= nded-syntax/#highlight
>>> [2]: ht= tps://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 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...@googlegroups.= com.
>>> To view this discussion on the web visit https://groups.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...-/JYPxA39Uh5TLH3MbocFFw@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.
<= /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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/489be9a1-e45a-4bee-ab8d-ce83ca7ed292n%40googlegroups.= com.
------=_Part_4769_886212274.1655829882276-- ------=_Part_4768_690906990.1655829882276--