From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30779 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane 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:43:07 -0700 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: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30565"; mail-complaints-to="usenet@ciao.gmane.io" To: Emiliano , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBIHKY6KQMGQEQF6EL4Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jun 21 18:43:17 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f183.google.com ([209.85.210.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o3gyC-0007lU-80 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Jun 2022 18:43:16 +0200 Original-Received: by mail-pf1-f183.google.com with SMTP id d129-20020a621d87000000b005228d4cbcc4sf5646858pfd.12 for ; Tue, 21 Jun 2022 09:43:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655829795; cv=pass; d=google.com; s=arc-20160816; b=YBovmia1u7FQu5bnuL5SUxleLA13lRdKk9QdJe1S8jneZtfyNVXEQ3D7waC+CxzZM/ lfXTxRHB/R7J+MqvnslZeSJtr9XOPOniHdSP0xbtxhVhEapuhdJV4dqF4pdVpjW4pe8u 8T9yBIV+iXXmoBVMcVM1WakTpGy0WwVo30fgxNhKoH7Pc2+mT9Dv8Zi2BryUWH7ECIG3 ogZmFdKqMnr1qieyD2FGwyD9BMpuVy7ki7jlQqeKAvaD6oth8h0JWhooYBMhwnAYi3Kd ZcUHiwOc5YGcJIhHHXv1vFBMXIK/aDW/nx6jqf2dk39qJPQhFCzq64cii6Citt8vrPrX C5yw== 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:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=WEdZs/8V2rdwxdJ4g8ZKjAF4/4pb+TwR/DUqYUaKCXM=; b=WJCL56PI3CNwMxVxBFqfz31rMwPnN74QsQlEEteg4YNJBcnvuetnb28PgU1//TNCRw IixhPlE1ofVXVo9/wcZrSRVDAktiIzdHYXN8nmTyUyPGjnyKNIBj6Q4H6MzgEsxa9tmD xpRI0nJH7/Lva9uGf3QJM0T7C1y5wP4wstDKBD8Jjd/puN9Oxjc2Qx+8LNr40uGnJfEF cypzxZo+IWuKH3RnVMUjdK+82ujTioA8Ti7sizga6n7uHS4uVkYjen509ggrHMmg602P O0qDFGD9Cq9BK34vhJI0rzohieZfsJH/5aoam5+xQhCh0dii6dQuQENyaHQSwMm4SKYt Rwqg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=dxNlstMe; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=WEdZs/8V2rdwxdJ4g8ZKjAF4/4pb+TwR/DUqYUaKCXM=; b=JMW98qggAhs6kk5IPk/Ux8GN5Ye2ro/psvc9UP2XasYUWoW7UxD1zgA4hyMo7l6u75 chueqB+WXMgSO57xY9lH1Ko5yHRAVgaJNgmEoGOiy2l8nIRm48oKbZFzCv5+7ChZhrx2 JNCwJYrY39/sn4YU97LQANL42e4NhzNafRrMCoU8owJ6zuVPjvjc0PBxiTPOC3cd2L5C v7yBOtKtdm6FEhTN2jnqO17dbyp01Y/xkrVgu98MCFJhjCf1KKOlgHbRMwZSefUEdSae RfbDSyvSFWlqxjSZyPeH6IBiiVNsBO6cAgpmmqV2wKRj9DcB4V4FdFy41dDdqPqGSJYM xwVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=WEdZs/8V2rdwxdJ4g8ZKjAF4/4pb+TwR/DUqYUaKCXM=; b=qhxPRCAVDBw1Qrh4OdHoven4OEOxBa9L9udwlOi7JMZnsMuLlydk7S7ui0kjhayVio Kofa7NfjUELuDOf5xrN9P/aiYzp23Qi1w19Pgus9J3BqeE6NEo6elSfz+RkgHKpa1npC LSH8F+H2bLEbLzXT/6SZzpUiB6Aicr/JiWuXaZd7ST6oj/x4anXj38JcYGvyiB4DoZjS unsddw7zoH+KohyyDFcqEZvMiBGnkTMyY1iljf9ixN7K9pywldtfaHO1zXgRrGJsEMJh 9OZvrRf/Vzsr4CLVWLJZ8lsqihuIonI/x7XGqS5s7dW8T2iVY7bFkxQZyDsxcm/xolZ2 fbZA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8hgY840gy7RJL/s5lOPU0W4xSdZtPeeBik/q9CTKgJYD1nwzTP yCpVvgTFYypxOMeMNZQo0p4= X-Google-Smtp-Source: AGRyM1sUvCM4EXDTHm4vOvxTD51eV9qJ85GFgH1GVpmRyh1kB+hK01GYjXdGM4473IHKgbfSwI32aA== X-Received: by 2002:a17:90b:3b4e:b0:1e8:743a:735c with SMTP id ot14-20020a17090b3b4e00b001e8743a735cmr44756992pjb.189.1655829794990; Tue, 21 Jun 2022 09:43:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:903:40ce:b0:16a:3db5:5935 with SMTP id t14-20020a17090340ce00b0016a3db55935ls1023165pld.8.gmail; Tue, 21 Jun 2022 09:43:11 -0700 (PDT) X-Received: by 2002:a17:90a:d703:b0:1ec:ac0d:5d3d with SMTP id y3-20020a17090ad70300b001ecac0d5d3dmr11640949pju.81.1655829791657; Tue, 21 Jun 2022 09:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655829791; cv=none; d=google.com; s=arc-20160816; b=cWn+w/WeZbPmPSRQOuzL1YRa5p3ogKI/oAzudkMVik0AR/+KCuI6oBrK1mPl4AV7Pq b7IlFf7sBvNCRKAuHm3JoTFM95pWBqSumlzHShtbCDN5Lxo4s5/6LTR1pRPWMGAJ1BBk 4ycVknvQN93K5vfH7V+KXv3Gz6tPO0uw2XVzdWZ1zqhyD7Fy7rWtBhCfg09uZABlEgDv AWNipAawJbwDfzts+7JYTPJ+aYealyvwNXtHSCXHUrfMbReW7seC0cqM0KyAx8j1Ipro 3RwnI9Tqv96AkE5BVTjG6yET4NVXtyU5utsDslUSqUSwedjK4MWHi/ftqg7H4CHXqCzt hofg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=meNpvTG5QvgMhSXyt2WgcQm8pxf5ObWjDvuPoGz45M4=; b=fBTWydCNprx2gaoKd8DZGlw+VZ1T7ZvmRXV9wlM1iWn2aqyCZ5rvrqkg/7aShGB/FP sxNZsL7wVYjR9o4SpSbERfZeTXbVnI80o0JxBksIfehuDgpfQi+THxpOUJN2eD+7T+g+ BKRHe0h6Asr0dB1vr3EGQxYZiVkKBWAC1nqPMAs/r4xIklKw/zi0KSpWuGi7dbKdYUxp zaTCkKGUUZIACbVz57a8VQBuPSKLrv1u5uTIabxNenuUmoAp7Y/OUFSjtHlZsjiM6w/r Gdu7JA/AMlRKywRd/36bl9B7H6LnbXTXbZhiidc5X8QcbNyoLQe96W9sQrDDPuS8gPDv +1xw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=dxNlstMe; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Original-Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com. [2607:f8b0:4864:20::62f]) by gmr-mx.google.com with ESMTPS id 6-20020a170902c20600b0016a11b71bfbsi380492pll.8.2022.06.21.09.43.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jun 2022 09:43:11 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62f as permitted sender) client-ip=2607:f8b0:4864:20::62f; Original-Received: by mail-pl1-x62f.google.com with SMTP id g8so13030908plt.8 for ; Tue, 21 Jun 2022 09:43:11 -0700 (PDT) X-Received: by 2002:a17:90a:66c1:b0:1e8:43ae:f7c0 with SMTP id z1-20020a17090a66c100b001e843aef7c0mr33975849pjl.245.1655829790996; Tue, 21 Jun 2022 09:43:10 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id b11-20020a17090a990b00b001cd4989febcsm12768915pjp.8.2022.06.21.09.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 09:43:09 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Tue, 21 Jun 2022 09:43:07 -0700 In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=dxNlstMe; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu 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:30779 Archived-At: Currently tracked at https://github.com/jgm/pandoc/issues/7743 This has not yet been implemented, but would be a sensible markdown extension to add. Emiliano writes: > 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/beef58d1-ac94-4f5a-9405-ecfbff6caa8cn%40googlegroups.com.