vue-markdown
vue-markdown copied to clipboard
Table doesn't render correctly
I am trying to render a markdown table on a github readme using this library and it doesn't render correctly.
https://raw.githubusercontent.com/championswimmer/vuex-persist/master/README.md
I tried to do copy that markdown content for the table to the online demo and it doesn't render correctly there as well. Below is the markdown content
| Property | Type | Description |
|-------------- |------------------------------------ |------------------------------------------------------------------------------------------------------------------------------------ |
| key | string | The key to store the state in the storage <br>_**Default: 'vuex'**_ |
| storage | Storage (Web API) | localStorage, sessionStorage, localforage or your custom Storage object. <br>Must implement getItem, setItem, clear etc. <br> _**Default: window.localStorage**_ |
| saveState | function<br> (key, state[, storage]) | If not using storage, this custom function handles <br>saving state to persistence |
| restoreState | function<br> (key[, storage]) => state | If not using storage, this custom function handles <br>retrieving state from storage |
| reducer | function<br> (state) => object | State reducer. reduces state to only those values you want to save. <br>By default, saves entire state |
| filter | function<br> (mutation) => boolean | Mutation filter. Look at `mutation.type` and return true <br>for only those ones which you want a persistence write to be triggered for. <br> Default returns true for all mutations |
| modules | string[] | List of modules you want to persist. (Do not write your own reducer if you want to use this) |
| asyncStorage | boolean | Denotes if the store uses Promises (like localforage) or not <br>_**Default: false**_
This table does render correctly on github page though: https://github.com/championswimmer/vuex-persist/blob/master/README.md#constructor-parameters--
It looks like the latest version of the markdown-it
seems to support this. Do you plan to update to the latest version of markdown-it
?