From 2b37e7c2e44118e732a66808ffa5c4ef2eb40d0b Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Wed, 28 Jun 2017 19:28:30 -0700 Subject: [PATCH] Render markdown more normally --- src/core/plugins/oas3/wrap-components/markdown.js | 7 ++++++- src/style/_layout.scss | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/core/plugins/oas3/wrap-components/markdown.js b/src/core/plugins/oas3/wrap-components/markdown.js index b9929520..7c1b837f 100644 --- a/src/core/plugins/oas3/wrap-components/markdown.js +++ b/src/core/plugins/oas3/wrap-components/markdown.js @@ -2,4 +2,9 @@ import React from "react" import ReactMarkdown from "react-markdown" import { OAS3ComponentWrapFactory } from "../helpers" -export default OAS3ComponentWrapFactory(({ source }) => { return source ? : null}) +export default OAS3ComponentWrapFactory(({ source }) => { return source ? ( + +) : null}) diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 63a37ee4..71f2f609 100644 --- a/src/style/_layout.scss +++ b/src/style/_layout.scss @@ -665,6 +665,14 @@ body } } +.renderedMarkdown { + p { + @include text_body(); + font-size: 14px; + margin-top: 0px; + margin-bottom: 0px; + } +} @keyframes blinker {