Closed 100tomer closed 6 months ago
Welcome @100tomer! 👋 react-markdown is a project for parsing markdown. reStructuredText is not markdown.
It is possible to build something like that, and even to leverage unified js (https://unifiedjs.com/, the foundation of this project) But that is a non-goal for react-markdown.
If you have questions on how to connect reStructuredText with syntax trees or unified, feel free to reach out at https://github.com/orgs/syntax-tree/discussions or https://github.com/orgs/unifiedjs/discussions !
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
Initial checklist
Problem
It will be great to have rst (reStructuredText) supported too like markdown is supported. (maybe this belong in a new npm package but it felt like something this npm package might do great
Solution
The markdown parser can maybe detect if the input is rst and then parse it differently then markdown
Alternatives
Currently the only solution is to convert rst files to markdown files (the only good convertor I found is pandoc)