Multilingual Markdown parser
- Remove comments
- Add break between paragraphs
- Parse Multilingual content by locale
- Parse links
- Parse references
- Parse multilingual names
The documentation for mlmd is available on the documentation website of the ShennongAlpha (ShennongDoc):
You can also contribute to the documentation on the ShennongDoc GitHub repository by submitting a pull request:
npm install mlmdimport React from 'react'
import ReactDom from 'react-dom'
import { ReactMlmd } from 'mlmd'
const markdown = '[[中文|汉语]]'
ReactDom.render(<ReactMlmd locale="zh-en">{markdown}</ReactMlmd>, document.body)Component to render markdown.
locale(Locale, optional) Set scoped locale, e.g.zh-en,en-zh,zh,en
React element (JSX.Element).
Yang, Z., Yin, Y., Kong, C. et al. ShennongAlpha: an AI-driven sharing and collaboration platform for intelligent curation, acquisition, and translation of natural medicinal material knowledge. Cell Discov 11, 32 (2025). https://doi.org/10.1038/s41421-025-00776-2