Try any Node.js package right in your browser

Share this code:

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @marp-team/marp-core with all npm packages installed. Try it out:

Auto-scaling features

Marp Core's scaling features will be realized by manipulating the original DOM to use inline SVG. So the theme author must take care of updated DOM in styling. Refer to the source code of offical themes.

@auto-scaling meta can also pick the favorite features to enable by using keyword(s).

By default, marp-core will use online web-font resources through jsDelivr CDN. You have to set path to fonts directory if you want to use local resources. If you set false, we will not manipulate the path (Use KaTeX's original path: fonts/KaTeX_***-***.woff2).

script: boolean | object

true: Inject the inline helper script into after the last of slides. (default)

false: Not inject helper script. Developer must execute a helper script manually, exported in @marp-team/marp-core/browser. Requires bundler such as webpack. It's suitable to the fully-controlled tool such as Marp Web.

You can control details of behavior by passing object.

source: string - Choose the kind of script.

inline: Inject the inline script. It would work correctly also in the environment that there is not network. (default)