* blockquote/"> " and paragraph interaction?
@ 2010-09-30 20:47 Conal Elliott
[not found] ` <AANLkTimAg1U=7Px5L_gcpMdFu9oLVFGYmom4KfqyQSnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Conal Elliott @ 2010-09-30 20:47 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 809 bytes --]
When I use "> " in markdown to denote a blockquote, the blockquote content
is sometimes wrapped in <p>...</p> in html output, and sometimes not. The
difference seems to be whether or not the "> ..." material is followed by a
blank line in the markdown source. If a blank line then <p>, and if none
then none. Is this behavior intentional? Does anyone know the
rationale(s)?
- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.
[-- Attachment #2: Type: text/html, Size: 888 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: blockquote/"> " and paragraph interaction?
[not found] ` <AANLkTimAg1U=7Px5L_gcpMdFu9oLVFGYmom4KfqyQSnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-10-01 23:21 ` John MacFarlane
[not found] ` <20101001232106.GE15473-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2010-10-01 23:21 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Can you give some examples?
John
+++ Conal Elliott [Sep 30 10 13:47 ]:
> When I use "> " in markdown to denote a blockquote, the blockquote
> content is sometimes wrapped in <p>...</p> in html output, and
> sometimes not. The difference seems to be whether or not the "> ..."
> material is followed by a blank line in the markdown source. If a
> blank line then <p>, and if none then none. Is this behavior
> intentional? Does anyone know the rationale(s)?
> - 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/pandoc-discuss?hl=en.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: blockquote/"> " and paragraph interaction?
[not found] ` <20101001232106.GE15473-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
@ 2010-11-13 4:12 ` Conal Elliott
0 siblings, 0 replies; 3+ messages in thread
From: Conal Elliott @ 2010-11-13 4:12 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2782 bytes --]
Following up on an old thread. Here's an example markdown file, foo.md:
<blockquote>
fiddly
> here is a nested quote
</blockquote>
And pandoc's conversion:
>bash-3.2$ pandoc foo.md
<blockquote><p
>fiddly</p
><blockquote
>here is a nested quote</blockquote>
</blockquote
>bash-3.2$
Note that the nested quote has no wrapping paragraph tag.
Now I add a blank line after the nested quote:
<blockquote>
fiddly
> here is a nested quote
</blockquote>
And convert again:
>bash-3.2$ pandoc foo.md
<blockquote><p
>fiddly</p
><blockquote
><p
>here is a nested quote</p
></blockquote
></blockquote>
bash-3.2$
This time, pandoc wraps the nested quote in paragraph tags.
- Conal
On Fri, Oct 1, 2010 at 4:21 PM, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> Can you give some examples?
>
> John
>
> +++ Conal Elliott [Sep 30 10 13:47 ]:
> > When I use "> " in markdown to denote a blockquote, the blockquote
> > content is sometimes wrapped in <p>...</p> in html output, and
> > sometimes not. The difference seems to be whether or not the "> ..."
> > material is followed by a blank line in the markdown source. If a
> > blank line then <p>, and if none then none. Is this behavior
> > intentional? Does anyone know the rationale(s)?
> > - 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To unsubscribe from this group, send email to
> > pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/pandoc-discuss?hl=en.
>
> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/pandoc-discuss?hl=en.
>
>
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.
[-- Attachment #2: Type: text/html, Size: 4008 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-13 4:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 20:47 blockquote/"> " and paragraph interaction? Conal Elliott
[not found] ` <AANLkTimAg1U=7Px5L_gcpMdFu9oLVFGYmom4KfqyQSnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-01 23:21 ` John MacFarlane
[not found] ` <20101001232106.GE15473-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-13 4:12 ` Conal Elliott
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).