public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Prevent backslash escaping and kept YAML header in Pandoc Markdown to PHP Extra Markdown conversion
@ 2021-08-06 19:14 Sean McDaniel
       [not found] ` <0c95effe-7e6e-4974-a7b7-5981b6b46ed4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Sean McDaniel @ 2021-08-06 19:14 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1271 bytes --]


All,

I need to convert documents from CommonMark to Markdown PHP Extra. Some of 
my markdown documents have multiple tables in multi-line format that my 
application (Grav CMS) doesn't support.

I'm having two issues with the conversion process that I haven't been able 
to figure out.

First, I have opening and closing square-bracket tags that I don't want 
converted. E.g. [notice] some text... [/notice] gets converted to 
\[notice\] some text... \[/notice\]. I've tried enclosing these sections in 
a plain fenced block but I don't want the text indented.

Is there a way to either prevent backslash escaping of special characters 
(preferred) or keep blocks of text verbatim?

Second, I have a YAML header that I'd like to keep untouched that's being 
removed. Is there a way to output the same YAML header to my converted 
document?

Thank you,

Sean

-- 
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/0c95effe-7e6e-4974-a7b7-5981b6b46ed4n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1600 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-08-13 21:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 19:14 Prevent backslash escaping and kept YAML header in Pandoc Markdown to PHP Extra Markdown conversion Sean McDaniel
     [not found] ` <0c95effe-7e6e-4974-a7b7-5981b6b46ed4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-08-08 18:31   ` John MacFarlane
     [not found]     ` <m2h7fzaivs.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-08-09 20:56       ` Sean McDaniel
     [not found]         ` <CAML5wTUJ+svOhMUi2GwtPw0-_sx-GrRtG5teCihq6WmGXjZ8Cg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-08-10  8:44           ` BPJ
2021-08-10 18:08           ` John MacFarlane
     [not found]             ` <m21r71895k.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2021-08-10 19:04               ` BPJ
     [not found]                 ` <CADAJKhBhk=M15HuN-4b+bG8NCGBeS6A7YYa3Y2n3Dax22m8MJA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-08-10 19:47                   ` John MacFarlane
     [not found]                     ` <yh480ktujxw08h.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-08-13 17:01                       ` Sean McDaniel
     [not found]                         ` <CAML5wTWbn0S2Ps+ROAOqjpHvv1ygfqWjx1FL0nj_2DiNSjjhdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-08-13 17:03                           ` Sean McDaniel
2021-08-13 19:41                           ` BPJ
     [not found]                             ` <CADAJKhDU-03GUEA3_5W7ThQMuMU9_bqPH0_ZsWHUm6ptq1HBsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-08-13 21:06                               ` Sean McDaniel

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).