docs: add note about marked.use in loops (#3492)
* Update USING_PRO.md * Update USING_PRO.md * Update USING_ADVANCED.md * Update USING_ADVANCED.md
This commit is contained in:
parent
4359a622fb
commit
17ca80ca27
@ -13,6 +13,8 @@ const marked = new Marked([options, extension, ...]);
|
||||
|:--------|:-------|:----------------------------------------------------------------------|
|
||||
| options |`object`|The same arguments that can be passed to [`marked.use`](/using_pro#use)|
|
||||
|
||||
Be careful: marked.use(...) should not be used in a loop or function. It should only be used directly after new Marked is created or marked is imported.
|
||||
|
||||
## The `parse` function
|
||||
|
||||
```js
|
||||
|
Loading…
x
Reference in New Issue
Block a user