react-styleguidist
react-styleguidist copied to clipboard
Markdown table broken props table styles
Current behavior
Write a markdown table in some case, will broken the props table styles.
Right table header style:
When write a markdown table:
To reproduce
There is a demo here: https://codesandbox.io/s/crazy-drake-j7vic?file=/styleguide.config.js
- first go to: https://j7vic.sse.codesandbox.io/#/Introduction
- click button, then the style of props table in button will broken
- just refresh, the style will back
Expected behavior Fix the bug
I also had the same problem. when use the following two methods:
|A|B|C|
|-|-|-|
|a|b|c|
|a|b|c|
// or
<table>
<tr>
<th>A</th>
<th>B</th>
<th>C</th>
</tr>
<tr>
<td>a</td>
<td>b</td>
<td>c</td>
</tr>
</table>