Render markdown more normally
This commit is contained in:
@@ -2,4 +2,9 @@ import React from "react"
|
||||
import ReactMarkdown from "react-markdown"
|
||||
import { OAS3ComponentWrapFactory } from "../helpers"
|
||||
|
||||
export default OAS3ComponentWrapFactory(({ source }) => { return source ? <ReactMarkdown source={source} /> : null})
|
||||
export default OAS3ComponentWrapFactory(({ source }) => { return source ? (
|
||||
<ReactMarkdown
|
||||
source={source}
|
||||
className={"renderedMarkdown"}
|
||||
/>
|
||||
) : null})
|
||||
|
||||
@@ -665,6 +665,14 @@ body
|
||||
}
|
||||
}
|
||||
|
||||
.renderedMarkdown {
|
||||
p {
|
||||
@include text_body();
|
||||
font-size: 14px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blinker
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user