* comments in headings messing up attribtues @ 2021-06-04 19:35 Joseph Reagle [not found] ` <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Joseph Reagle @ 2021-06-04 19:35 UTC (permalink / raw) To: pandoc-discuss 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? ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>]
* Re: comments in headings messing up attribtues [not found] ` <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> @ 2021-06-07 13:34 ` Joseph Reagle 2021-06-07 14:05 ` John MacFarlane 1 sibling, 0 replies; 4+ messages in thread From: Joseph Reagle @ 2021-06-07 13:34 UTC (permalink / raw) To: pandoc-discuss 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? ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: comments in headings messing up attribtues [not found] ` <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 2021-06-07 13:34 ` Joseph Reagle @ 2021-06-07 14:05 ` John MacFarlane [not found] ` <m2mts1wz1t.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 1 sibling, 1 reply; 4+ messages in thread From: John MacFarlane @ 2021-06-07 14:05 UTC (permalink / raw) To: Joseph Reagle, pandoc-discuss Attributes have to come at the very end. So, you'd need to put the comment before the attribute. Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes: > 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? > > -- > 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/79902156-0bd0-bbf6-d334-3a5ae29fcaff%40reagle.org. ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <m2mts1wz1t.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>]
* Re: comments in headings messing up attribtues [not found] ` <m2mts1wz1t.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> @ 2021-06-07 14:34 ` Joseph Reagle 0 siblings, 0 replies; 4+ messages in thread From: Joseph Reagle @ 2021-06-07 14:34 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Ah, yes. So this was a spurious issue from documenting/commenting my problem with `.r-fit-text` now. BTW: *could* comments appear after an attribute? Is not permitting this a necessity? ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-07 14:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-06-04 19:35 comments in headings messing up attribtues Joseph Reagle [not found] ` <79902156-0bd0-bbf6-d334-3a5ae29fcaff-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 2021-06-07 13:34 ` Joseph Reagle 2021-06-07 14:05 ` John MacFarlane [not found] ` <m2mts1wz1t.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org> 2021-06-07 14:34 ` Joseph Reagle
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).