Skip to content

Playground

The playground runs as a dedicated Next.js application and can be embedded inside docs with preloaded markdown and schema.

Local app URL:

  • https://playground.markschema.com

Run it with:

bash
npm run --workspace @markschema/playground dev

Embedded example (preloaded and ready to execute):

Resize tip: drag the bottom edge/corner of the container to increase visible area.

Supported URL params:

  • title
  • view=preview|schema
  • autoValidate=1|0 (or true|false)
  • markdown or markdown64
  • schema or schema64