JuliaAttic / Markdown.jl

Markdown parsing for Julia
Other
40 stars 11 forks source link

Quoted items in lists #13

Closed timholy closed 10 years ago

timholy commented 10 years ago

I'm really loving exploring the combination of Docile, Lexicon, & Markdown! Really powerful stuff.

One bug I noted. In this file:

Here's a Markdown file.
Let's see if it's return-sensitive.

Here's a list:

  * Item one, `push!`
  * Item two, `pop!`

push! and pop! don't get the blue highlight I'd expect them to.

I also initially constructed that list with -, and ran across #12.

MikeInnes commented 10 years ago

Glad you like it! I'm overhauling Markdown.jl right now, there's loads of warts like this at the moment but by the end of it we'll be a lot closer to supporting everything in Common Markdown.

MikeInnes commented 10 years ago

Ok, this should be fixed on master, I'll tag a new release soon

mpastell commented 9 years ago

This bug still appears using Julia 0.34, but not on 0.4 nightlies:

julia> VERSION
v"0.3.4"
julia> Pkg.installed("Markdown")
v"0.2.1"
Markdown.parse("""
       Here's a Markdown file.
       Let's see if it's return-sensitive.

       Here's a list:

         * Item one, `push!`
         * Item two, `pop!`
       """)

  Here's a Markdown file. Let's see if it's return-sensitive.

  Here's a list:

    • Item one, `push!`
    • Item two, `pop!`
dpo commented 9 years ago

I'm also observing this bug with Julia 0.3.3.

mpastell commented 9 years ago

I noticed that this is actually fixed in master and it works if I install using: Pkg.clone("git@github.com:one-more-minute/Markdown.jl.git")

In 0.4 it works using Base.Markdown and not tagged Markdown.jl.

MikeInnes commented 9 years ago

Yes, the patch isn't released yet but you can use Pkg.checkout("Markdown"). I'll tag a new version once I've fixed another couple of issues that have cropped up.