mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
WIP MardownToReact
This commit is contained in:
parent
39fd5f38b0
commit
8b7b1670ee
|
@ -5,7 +5,7 @@ import classNames from 'classnames'
|
|||
import Link from './link'
|
||||
import Button from './button'
|
||||
import { InlineCode } from './code'
|
||||
import { markdownToReact } from './util'
|
||||
import { MarkdownToReact } from './util'
|
||||
|
||||
import * as classes from '../styles/embed.module.sass'
|
||||
|
||||
|
@ -92,7 +92,7 @@ const Image = ({ src, alt, title, ...props }) => {
|
|||
</Link>
|
||||
{title && (
|
||||
<figcaption className="gatsby-resp-image-figcaption">
|
||||
{markdownToReact(title, markdownComponents)}
|
||||
<MarkdownToReact markdown={title} />
|
||||
</figcaption>
|
||||
)}
|
||||
</figure>
|
||||
|
|
Loading…
Reference in New Issue
Block a user