[mark] React MarkDown格式里同时渲染SQL,GO

import { DrawerForm } from '@ant-design/pro-components'
import { Button } from 'antd'
import Markdown from 'react-markdown'
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'

export default ({ sqlContent }: any) => {
  return (
    详情}
      onFinish={async () => {
        return true
      }}
      submitter={false}
    >
      
{String(children).replace(/\n$/, '')} ) : ( {children} ) }, }} />
) }

你可能感兴趣的:(react.js,sql,golang)