We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import unified from 'unified' import remarkParse from 'remark-parse' import remark2rehype from 'remark-rehype' import stringify from 'rehype-stringify' import remarkSubSuper from "remark-sub-super" export default async function markdown2Html(markdown: string): Promise<string> { const file = await unified() .use(remarkParse) .use(remarkSubSuper) .use(remark2rehype) .use(stringify) .process(markdown) return String(file) }
Throws the following typescript error.
The text was updated successfully, but these errors were encountered:
See #416
Sorry, something went wrong.
Closing as this was answered with further comments.
Feel free to reopen an issue if you need.
No branches or pull requests
Throws the following typescript error.
The text was updated successfully, but these errors were encountered: