Skip to content

Formatting inside quotes #39

Open
Open

Description

@cben
> quote
# Header 0123456789

Renderend now as a header inside a continued quote.

(The non-portability here is one of these things where having a "markdown lint" would help.)

Made worse by 2 bugs => only Header is colored green as a quote.

  • The # is bright-bluish - wrong CSS cascading?
  • 0123456789 is blue, somehow due to GFM styling it as github SHA link and my kludge unstyling it.

Should be

But here things are

Activity

  1. cben commented on Apr 24, 2014

    @cben
    OwnerAuthor

    Similar issue with header after link target:

    ...
    [1]: http://example.com
    # Header
    
  2. cben commented on May 21, 2014

    @cben
    OwnerAuthor

    Correction: markdown clearly allows header inside quote:

    > # Header?
    

    http://johnmacfarlane.net/babelmark2/?normalize=1&text=%3E+%23+Header%3F

    So the "lazy continuation" case may not be a CM bug.
    Similar results with lazy list:
    http://johnmacfarlane.net/babelmark2/?normalize=1&text=-+lazy%0Alist%0A%23+Header%3F
    Notably, Markdown.pl and pandoc strict both consider it header in a list.

    The bottom line is that a I should not apply blue color to headers inside quote/list but let the quote/list color win to make the structure clear.

  3. changed the title [-]Funny highlight for header inside quote[/-] [+]Formatting inside quotes[/+] on Jun 7, 2014
  4. cben commented on Jun 7, 2014

    @cben
    OwnerAuthor
    • Format leading whitespace inside quotes in monospace
    • Recognize lists inside quotes (missing in markdown.js?)

    And while not formatting-related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions