bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 116 forks source link

Markdown tables don't render #115

Closed den1k closed 5 years ago

den1k commented 7 years ago

I tried the following in showdown and it works:

  | Tables        | Are           | Cool  |
  | ------------- |:-------------:| -----:|
  | **col 3 is**  | right-aligned | $1600 |

It also works in github markdown:

Tables Are Cool
col 3 is right-aligned $1600

However, this devcard

(defcard-doc
  "#Tables don't work?

  | Tables        | Are           | Cool  |
  | ------------- |:-------------:| -----:|
  | **col 3 is**  | right-aligned | $1600 |")

looks like this:

image

bhauman commented 5 years ago

fixed this by using marked, as the showdown on cljsjs didn't render tables