From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29878 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 06:09:41 -0800 (PST) Message-ID: <2cf7ddb7-c135-441c-8758-d780938bb5ffn@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_21796_1327315950.1641132581959" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40542"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDEMNMHFXQDBBJ7EY2HAMGQE4QYIVPI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 02 15:09:45 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f63.google.com ([209.85.210.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n41YP-000ANo-6d for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 02 Jan 2022 15:09:45 +0100 Original-Received: by mail-ot1-f63.google.com with SMTP id y19-20020a0568301d9300b0056396063834sf8127270oti.18 for ; Sun, 02 Jan 2022 06:09:45 -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=90VEib0I14Jz9kRtCKcJCjZS8wfl3w6g2+PhTsp9j2k=; b=mHrDMObeA4rsoEJfA9RTSBlp8t5Emvpa14w7+3h7Ny13SVghsD1NVY0a42VeO8bIw8 iNPZNlZtH7tvMyVl6RGVbPH2DqHTLmLLv7OXHsMDVK25MjtiwsgTYuigFlE7IZvZMkse /jybZRPCacc9ER28A7y4fatbQUGCdlsk/nnL4zDJJM3L65QYbTmVBKiZk2z1Lg3hLnrI OFOfC/jYNkRvtnN6IYLIxspLFw+RCqsdk6XrglgeHHWcgo/grJ6Zwh3jhQOvr8dqUxb/ v0ceaPwoGn9FmJF1tj1bD6GpsvXgBv0uKkvq3zVEXx7mEdkFrOgK7Z2KCtkLQAvQ2yQ4 cpPQ== 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=90VEib0I14Jz9kRtCKcJCjZS8wfl3w6g2+PhTsp9j2k=; b=m5vSsZ04rClQngdVyiXWOXfMZG1tI6tXCxEURRQfI2bYYFz6rNoHSB2seZOjWcDe4k 6hnsyhhC11F0NbBlkETA+HNol13CzozbFQxN/L+5kpNV5B9n1Mx2f1jMDpenTWhj8Wgb xqzkkYjqqkyVz4Oga6davdddmGSLEtSsPu+op7aT4GxA1d7fkKqe4YgLT9y1XIXAGct1 zqN0QboWwY3HO5VrYelp/wFFnNPXZMJHjDc5rz1bD+/pemT36iAp1qj5GlEzyvePkaSG KdY/THV7hm4zWCN6BHhImK0+hPlQ8xc60dbspQlTGEjmrxk3Z+EVjrXZawbSMWZ3C4mf DRZg== 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=90VEib0I14Jz9kRtCKcJCjZS8wfl3w6g2+PhTsp9j2k=; b=mgxbkWM//tEVUI9y99HBfRMtdCFwAX7Y468PM5JBp7/DHs9hG2iJ1Brhm6MYh2yc8h VKOZb3JlSrbZIRE5J/Vphq6PX6Sqb5PeNCIklcHMJ88HpMtwDwYFpertXT9xzlEy9xeR fe/Mpt7093BOOkSxN6zuCaLUJZT8s1Xo3PBJQJllS2LqJtRz74QK/8dwD9S+Vo3YEg1K cM7+PN+HaXhLHtsGyh1Xl+sFTQeKuoFt48lLE3065oS7MCoJBz4+XEOCHa/hh+mlM7Ot s9uYsdulljbP7yS99tM2HA834/t2PNt0y68eTN5lUS2MdjZarySk3ZrjDY+ZbXxxXhLm Uu/A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532vvlb2DcHoKcSeDU8qx6s6PphBm4ikKROr25WgdHTgv3NTuZcJ Fx7R8azJ57Q9yLMqIVpWio8= X-Google-Smtp-Source: ABdhPJyI0gs/vGvEWhSV0tdfYpIBWRbup6NmU8X+P/ngr2Iutkv7HGf4dFHt8JGOL1HFmtX142z4PA== X-Received: by 2002:a05:6808:1914:: with SMTP id bf20mr33237791oib.149.1641132584131; Sun, 02 Jan 2022 06:09:44 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:3499:: with SMTP id c25ls6475219otu.4.gmail; Sun, 02 Jan 2022 06:09:42 -0800 (PST) X-Received: by 2002:a05:6830:4d:: with SMTP id d13mr31498560otp.45.1641132582673; Sun, 02 Jan 2022 06:09:42 -0800 (PST) In-Reply-To: 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:29878 Archived-At: ------=_Part_21796_1327315950.1641132581959 Content-Type: multipart/alternative; boundary="----=_Part_21797_885437354.1641132581959" ------=_Part_21797_885437354.1641132581959 Content-Type: text/plain; charset="UTF-8" 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/2cf7ddb7-c135-441c-8758-d780938bb5ffn%40googlegroups.com. ------=_Part_21797_885437354.1641132581959 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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...@r= eagle.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 <j= osep...-T1oY19WcHSwdnm+yROfE0A@public.gmane.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.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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>>> 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..= .@googlegroups.com.
> 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/2cf7ddb7-c135-441c-8758-d780938bb5ffn%40googlegroups.= com.
------=_Part_21797_885437354.1641132581959-- ------=_Part_21796_1327315950.1641132581959--