marp-team / marp-react

[INACTIVE] Marp renderer component for React
https://marp-react.netlify.com/
MIT License
19 stars 3 forks source link

Highlighted fence ignores whitespaces #4

Closed yhatt closed 5 years ago

yhatt commented 5 years ago

Marp React's HTML parser ignores whitespaces in highlighted fence.

```jsx
<Marp
  markdown=":+1:"
  options={{
    inlineSVG: false,
    emoji: {
      shortcode: true,
      unicode: true,
    },
  }}
/>
```
Marp Web Marp React
correct incorrect

NOTE: Indented code block and the plain text fence is working well.