Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Render Markdown Directly in Components #28

Closed
localjo opened this issue Oct 27, 2017 · 1 comment
Closed

Render Markdown Directly in Components #28

localjo opened this issue Oct 27, 2017 · 1 comment

Comments

@localjo
Copy link
Contributor

localjo commented Oct 27, 2017

Instead of converting markdown files into HTML strings to render markdown into components, it would be nice to use something like react-markdown directly. The would be safer, and allow us to skip the step we currently have of generating intermediary HTML files, in favor of using the markdown files directly.

This will be a fairly simple change, but since we're using <sub>/<sup> tags in our markdown, this is pending a fix for an issue that react-markdown has with rendering some inline HTML tags: rexxars/commonmark-react-renderer#9

@ZachTRice
Copy link
Contributor

Closing this issue since components will be deprecated soon. We can re-open this issue in the worldview repository if need be.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants