From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29879 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alx Nbl Newsgroups: gmane.text.pandoc Subject: Re: Way to have markdown ==highlighting== show up as highlighting in .docx or .odt files? Date: Sun, 2 Jan 2022 08:52:44 -0800 (PST) Message-ID: 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_10300_427269094.1641142364178" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38286"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDEMNMHFXQDBBXNQY6HAMGQEZYYLBZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 02 17:52:47 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n446B-0009m6-3R for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 02 Jan 2022 17:52:47 +0100 Original-Received: by mail-oo1-f59.google.com with SMTP id p3-20020a4a4803000000b002da84ca8abcsf16172929ooa.14 for ; Sun, 02 Jan 2022 08:52:47 -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=3PhPM/H2HSyBitCJqKWrIv58f4IBEFvKkPo2KE4rd8E=; b=H1uOhv7cDOEnNzmckb/pl+7yKYI61EyzJ4Vlugylugjal4eTiLs4acfIPTw10St4pu T0nw88m4MgrYI5Nqbm4HSxkMOnQbDCMPw27ifi2ACxcHYAgODMyUaDf+k2MuWprsCZd3 +ELzawxr/bSiTUqf4HgomfIOAZItuvAA9B+ebx3ZsOaSxSoQKPz5UGCIqnC0xBNfgQDP QCQAZ1jrwPJ6HSG74nBtX/jL6ydO0FlwDEuiaSg2H8xN7VM0HZ9saDEM9CIpHaRELAq1 EV91apq/xh8uDYo5Y3b3ftePQb5nuMuvx6dCXgBq/F39AiwzBPtHjZqmeE3ep+QpVedM 3m6Q== 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=3PhPM/H2HSyBitCJqKWrIv58f4IBEFvKkPo2KE4rd8E=; b=o2ma/7GNGelumc1/7aT8oRf8saOTDRR7cMEL45auUvmlkz/alzqjfk9UPCu1ryOfRA uOFFmZpuLNzDjSzJivBQlsHxlR9MTXH6W+/SKPJff1sDz/q+4MkeRZHraLFptQrGkRAQ yan3xuYwxiY4T1qR21yGpIu5yVZ6BL/9QWcVZevcCegAxLr2dtjJcJ0UrfyI6GVMM/ew Ard9XXNiFmEpE6exvrOD19jBy4ttNcOnuLpg0Of5dT6fSyBP6Kok17BvO4e/Qner6P2q BAmVmtsAJwQ4EGYJWHiJdnvA102Nbo4iI2nNHHjQfu8vAQqMafsWq/1hPf6RS+NRolPk 6ZiA== 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=3PhPM/H2HSyBitCJqKWrIv58f4IBEFvKkPo2KE4rd8E=; b=P+AT8A6jARop8DBNSXOvpRgj8SUEpRMVlAp4FLafCsR81So0C0lKtlesDppEwDDHsS TqCRmWCkdcYzbpvytYyugiMQq/4nR/jgenGTW6zBK0fe5abejkzkRkxXTfMAxh8X2hQj NC/ep22dOlGZwptcn4Yg3QObN+YgFl1D9LBMJVrIZw+ajtf/3YzD37eVwMPtrSXYlRkg 9Hk+/CRtKzGCrGEREiAfxYAxjqMBjEvzCT8zVIew9JgwyIWNYKsg5Z+NzoAZ7r0A+NDO brLF0ZMu8u3dCR5UbxwRtIzOXPpfq0sApzp0C2GrqRbDP9ZgLgGPYCC9wIQe6Z3rD4cP bDUA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530UGSrR+yECQ8f4mneDTmP2ganjwhkOw79hIXcAdmFXJpufbrL8 zAaWHczeNdLqRuvs6edu00k= X-Google-Smtp-Source: ABdhPJwpSHHhUhygWN+6TGUBV5q7DQ2bPdB6rkUCrdVu5lk8Se9MXDH3pLBTliUreCpeocBPbi/pZA== X-Received: by 2002:a05:6830:80a:: with SMTP id r10mr32239657ots.74.1641142366064; Sun, 02 Jan 2022 08:52:46 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:438e:: with SMTP id s14ls6520672otv.7.gmail; Sun, 02 Jan 2022 08:52:44 -0800 (PST) X-Received: by 2002:a9d:70d4:: with SMTP id w20mr31141972otj.154.1641142364725; Sun, 02 Jan 2022 08:52:44 -0800 (PST) In-Reply-To: <2cf7ddb7-c135-441c-8758-d780938bb5ffn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: alxnbl-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:29879 Archived-At: ------=_Part_10300_427269094.1641142364178 Content-Type: multipart/alternative; boundary="----=_Part_10301_248941842.1641142364178" ------=_Part_10301_248941842.1641142364178 Content-Type: text/plain; charset="UTF-8" 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/c0083e12-4b71-4fd1-a701-f6ea922a1f98n%40googlegroups.com. ------=_Part_10301_248941842.1641142364178 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = My use case is different from paulschi, in my case= i am trying to convert docx into markdown and generating '=3D=3D =3D=3D' s= yntax when there is higlighted text in the docx file.

On Sunday, Janua= ry 2, 2022 at 3:09:42 PM UTC+1 Alx Nbl wrote:
Hi all. The '=3D=3D =3D=3D' synt= ax is also used by Joplin app. I would also be very interested by such a fe= ature.

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

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> 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/e= xtended-syntax/#highlight
>>> [2]: https://talk.commonmark.org/t/highlighting-text-with-the-mark-element/840<= /a>
>>>
>>> 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-29= 5e-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.

--
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/c0083e12-4b71-4fd1-a701-f6ea922a1f98n%40googlegroups.= com.
------=_Part_10301_248941842.1641142364178-- ------=_Part_10300_427269094.1641142364178--