* Treating changes in quoted nesting as paragraph breaks
@ 2019-09-19 16:49 Joseph Reagle
[not found] ` <93cba32f-bf2d-bec8-bb96-58be123e3a0b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Reagle @ 2019-09-19 16:49 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
I often get email with nested quoting that looks like this:
```
> This is a quoted line.
> > This is a nested quoted line. Wrapping the first line won't
> > touch this one.
> And continuing with a third line.
```
When I process such quotes with pandoc, with wrapping, it sees it
as a single paragraph and makes a mess of it -- understandably.
Would it be possible to process these a bit smarter?
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <93cba32f-bf2d-bec8-bb96-58be123e3a0b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org>]
* Re: Treating changes in quoted nesting as paragraph breaks [not found] ` <93cba32f-bf2d-bec8-bb96-58be123e3a0b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> @ 2019-09-19 18:29 ` John MacFarlane 0 siblings, 0 replies; 2+ messages in thread From: John MacFarlane @ 2019-09-19 18:29 UTC (permalink / raw) To: Joseph Reagle, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Try with -f gfm or -f commonmark. Pandoc requires a blank line before a block quote but these formats don't. Note, however, that you'll still have problems with > > a > b because of laziness, this is interpreted as blockquote (blockquote (a b)). Joseph Reagle <joseph.2011-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> writes: > I often get email with nested quoting that looks like this: > > ``` >> This is a quoted line. >> > This is a nested quoted line. Wrapping the first line won't >> > touch this one. >> And continuing with a third line. > ``` > > When I process such quotes with pandoc, with wrapping, it sees it > as a single paragraph and makes a mess of it -- understandably. > > Would it be possible to process these a bit smarter? > > -- > 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/93cba32f-bf2d-bec8-bb96-58be123e3a0b%40reagle.org. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-19 18:29 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-09-19 16:49 Treating changes in quoted nesting as paragraph breaks Joseph Reagle [not found] ` <93cba32f-bf2d-bec8-bb96-58be123e3a0b-T1oY19WcHSwdnm+yROfE0A@public.gmane.org> 2019-09-19 18:29 ` John MacFarlane
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).