mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 12:23:36 +08: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); }) ``` |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |