Refactor markdown rendering

This commit is contained in:
Kamran Ahmed
2019-11-29 18:36:49 +04:00
parent 77dab81b92
commit ebd351e133
13 changed files with 20 additions and 17 deletions

View File

@@ -5,6 +5,7 @@ import SharePage from 'components/share-page';
import { BadgeLink, BadgesList, DarkBadge, PrimaryBadge, SecondaryBadge } from 'components/badges';
import GuideBody from 'components/guide-body';
import siteConfig from "storage/site";
import MdRenderer from '../md-renderer';
const UpcomingGuide = require(`../../storage/guides/upcoming.md`).default;
@@ -50,9 +51,9 @@ const RoadmapSummary = ({ roadmap }) => {
<Summary>
{
roadmap.upcoming && (
<GuideBody>
<MdRenderer>
<UpcomingGuide />
</GuideBody>
</MdRenderer>
)
}
{