Render markdown more normally

This commit is contained in:
Kyle Shockey
2017-06-28 19:28:30 -07:00
parent 6e301aaa80
commit 2b37e7c2e4
2 changed files with 14 additions and 1 deletions

View File

@@ -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})

View File

@@ -665,6 +665,14 @@ body
}
}
.renderedMarkdown {
p {
@include text_body();
font-size: 14px;
margin-top: 0px;
margin-bottom: 0px;
}
}
@keyframes blinker
{