mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -06:00
7476c22324
`parseAsync` allows to parse a block of markdown into tokens. Usage: ```javascript import { parseAsync } from "discourse/lib/text"; // ... await parseAsync("**test**").then((tokens) => { console.log(tokens); }) ``` |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |