public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Disabling blank_before_blockquote still requires blank lines
@ 2017-10-04  5:47 Francisco Lopes
       [not found] ` <841af626-55cb-4baf-a65a-af600387a914-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Francisco Lopes @ 2017-10-04  5:47 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi, with command line "pandoc -f markdown-blank_before_blockquote"
for this content:

## Quotes
> quoted
>> quoted
>> more quotes
> text
> content

I get an HTML that's like:

Quotes

    quoted
        quoted more quotes text content

As you can see, the second level blockquote gets glued with the single 
level one in the end,
the fix I know for this is to insert a blank line:

## Quotes
> quoted
>> quoted
>> more quotes
>
> text
> content

then I get:

Quotes

    quoted
        quoted more quotes
    text content

Notice that I'm using "-blank_before_blockquote" with hopes to not have to 
insert this additional
blank lines, but it's just working from lower level quotation to inner, not 
back. Is there an option?
If not, would it be OK to support this?

Regards

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/841af626-55cb-4baf-a65a-af600387a914%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Disabling blank_before_blockquote still requires blank lines
       [not found] ` <841af626-55cb-4baf-a65a-af600387a914-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-10-04  5:50   ` Francisco Lopes
  2017-10-04 17:23   ` John MACFARLANE
  1 sibling, 0 replies; 4+ messages in thread
From: Francisco Lopes @ 2017-10-04  5:50 UTC (permalink / raw)
  To: pandoc-discuss


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

It's like I'm in need not only of -blank_before_blockquote but also of 
-blank_after_blockquote.

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/30b41635-064d-4dc0-b9f0-3bbf87e6c3d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Disabling blank_before_blockquote still requires blank lines
       [not found] ` <841af626-55cb-4baf-a65a-af600387a914-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-10-04  5:50   ` Francisco Lopes
@ 2017-10-04 17:23   ` John MACFARLANE
  2017-10-04 17:56     ` Francisco Lopes
  1 sibling, 1 reply; 4+ messages in thread
From: John MACFARLANE @ 2017-10-04 17:23 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

That's because of "laziness."  Markdown allows you to lazily
omit `>` markers after the first line of a paragraph.

So,

    >> quote
    quote

is a block quote with "quote quote", and so is

    >> quote
    > quote

+++ Francisco Lopes [Oct 03 17 22:47 ]:
>   Hi, with command line "pandoc -f markdown-blank_before_blockquote"
>   for this content:
>   ## Quotes
>   > quoted
>   >> quoted
>   >> more quotes
>   > text
>   > content
>   I get an HTML that's like:
>   Quotes
>       quoted
>           quoted more quotes text content
>   As you can see, the second level blockquote gets glued with the single
>   level one in the end,
>   the fix I know for this is to insert a blank line:
>   ## Quotes
>   > quoted
>   >> quoted
>   >> more quotes
>   >
>   > text
>   > content
>   then I get:
>   Quotes
>       quoted
>           quoted more quotes
>       text content
>   Notice that I'm using "-blank_before_blockquote" with hopes to not have
>   to insert this additional
>   blank lines, but it's just working from lower level quotation to inner,
>   not back. Is there an option?
>   If not, would it be OK to support this?
>   Regards
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/841af626-55cb-4baf-
>   a65a-af600387a914%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/841af626-55cb-4baf-a65a-af600387a914-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


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

* Re: Disabling blank_before_blockquote still requires blank lines
  2017-10-04 17:23   ` John MACFARLANE
@ 2017-10-04 17:56     ` Francisco Lopes
  0 siblings, 0 replies; 4+ messages in thread
From: Francisco Lopes @ 2017-10-04 17:56 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi John,

Thanks for recalling me this, now I realize why but.... I really don't wish 
this behavior :( Personally I rarely use
lazyness, even outside of this context I'm actually dealing with, which is 
block quotes for email. So, if there's no
way to disable lazyness at the moment, is it a worth request to have such a 
option?

Regards

Em quarta-feira, 4 de outubro de 2017 14:23:05 UTC-3, John MacFarlane 
escreveu:
>
> That's because of "laziness."  Markdown allows you to lazily 
> omit `>` markers after the first line of a paragraph. 
>
> So, 
>
>     >> quote 
>     quote 
>
> is a block quote with "quote quote", and so is 
>
>     >> quote 
>     > quote 
>
> +++ Francisco Lopes [Oct 03 17 22:47 ]: 
> >   Hi, with command line "pandoc -f markdown-blank_before_blockquote" 
> >   for this content: 
> >   ## Quotes 
> >   > quoted 
> >   >> quoted 
> >   >> more quotes 
> >   > text 
> >   > content 
> >   I get an HTML that's like: 
> >   Quotes 
> >       quoted 
> >           quoted more quotes text content 
> >   As you can see, the second level blockquote gets glued with the single 
> >   level one in the end, 
> >   the fix I know for this is to insert a blank line: 
> >   ## Quotes 
> >   > quoted 
> >   >> quoted 
> >   >> more quotes 
> >   > 
> >   > text 
> >   > content 
> >   then I get: 
> >   Quotes 
> >       quoted 
> >           quoted more quotes 
> >       text content 
> >   Notice that I'm using "-blank_before_blockquote" with hopes to not 
> have 
> >   to insert this additional 
> >   blank lines, but it's just working from lower level quotation to 
> inner, 
> >   not back. Is there an option? 
> >   If not, would it be OK to support this? 
> >   Regards 
> > 
>  
>
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/26106523-6bd5-4e7b-bc20-6ab4cc6b8c70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2017-10-04 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-04  5:47 Disabling blank_before_blockquote still requires blank lines Francisco Lopes
     [not found] ` <841af626-55cb-4baf-a65a-af600387a914-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-04  5:50   ` Francisco Lopes
2017-10-04 17:23   ` John MACFARLANE
2017-10-04 17:56     ` Francisco Lopes

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