My site is made using react-static and now I want to add remark-gfm.
To have a code snippet I use three ticks. To create a multiline section, I have to use a single tick. This breaks the triple tick code indicator.
My question is how to make multiline seconds so I can just copy paste my premade markdown files?
In the example I have a const markdown to show what works and how multiline breaks.
import React from 'react'
import ReactDom from 'react-dom'
import ReactMarkdown from 'react-markdown'
import remarkGfm from 'remark-gfm'
const markdown = "```tmux ls```"
const multiline = `start tmux with
```tmux ls ```
`
export default () => (
<ReactMarkdown children={markdown} remarkPlugins={[remarkGfm]} />
)