marp-team / marp-core

The core of Marp converter
MIT License
766 stars 129 forks source link

Update the rendered DOMs for custom elements whenever called browser script #305

Closed yhatt closed 2 years ago

yhatt commented 2 years ago

Related: marp-team/marp-vscode#360

applyCustomElements must be called whenever calling browser() to make auto scaling custom elements recognize correctly.

A return value of browser() is still a cleanup function but having developer-friendly interface now.