`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);
})
```
|
||
|---|---|---|
| .. | ||
| acceptance | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| active-plugins.js.erb | ||
| core-tests.js | ||
| index.html | ||
| plugin-tests.js.erb | ||
| setup-tests.js | ||
| test-boot-ember-cli.js | ||