public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: comments in headings messing up attribtues
Date: Mon, 7 Jun 2021 09:34:52 -0400	[thread overview]
Message-ID: <203fa561-d077-94ea-60f4-b2cdc41dc80d@reagle.org> (raw)
In-Reply-To: <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>

BTW: Of course, `--strip-comments` doesn't work since pandoc doesn't parse that comment as a comment.

On 21-06-04 15:35, Joseph Reagle wrote:
> When I have a comment in a heading with an attribute declaration, pandoc seems to take it literally.
> 
> https://pandoc.org/try/?text=%23%23+big+text+%7B.r-fit-text%7D+%3C!--+TODO%3A+now+broken+--%3E%0A&from=markdown&to=revealjs&standalone=0
> 
> I'm going to try to use `--strip-comments` and see if that works as a short term fix, but is this a bug?


  parent reply	other threads:[~2021-06-07 13:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-04 19:35 Joseph Reagle
     [not found] ` <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
2021-06-07 13:34   ` Joseph Reagle [this message]
2021-06-07 14:05   ` John MacFarlane
     [not found]     ` <m2mts1wz1t.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-06-07 14:34       ` Joseph Reagle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=203fa561-d077-94ea-60f4-b2cdc41dc80d@reagle.org \
    --to=joseph.2011-t1oy19wchswdnm+yrofe0a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).