Here's a half-baked idea: When the input language is markdown+lhs, allow #-style header to begin with a blank space. Then ghc will treat such lines as comments, while pandoc will treat them as headers.
Thoughts?
- Conal
+++ Conal Elliott [Nov 11 10 12:19 ]:
As far as I know, there's no way to do this, which is irritating.> Does anyone know how to use #-style markdown headers without ghc
> choking on them (as preprocessor directives)? I can use the underline
> variant for 1st & 2nd level headings ("-----" and "====="), but I often
> like more deeply nested headings.
> Thanks, - Conal
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.