Tooling Integrations

The Marko core team maintains official integrations for editors, bundlers, testing, and component development.

Editor Tooling

Marko for VS Code bundles syntax highlighting, formatting, IntelliSense, type checking, and accessibility diagnostics out of the box.

For other editors that support the Language Server Protocol, install @marko/language-server and run marko-language-server --stdio to enable IntelliSense, type checking, and accessibility diagnostics.

Tip

See the TypeScript reference for type checking configuration and CLI usage with mtc.

When Prettier is installed, prettier-plugin-marko formats .marko files automatically.

Bundlers

Marko Run is the recommended setup for applications; it wraps @marko/vite with zero required configuration.

For custom bundler setups, the following official plugins are maintained:

Testing

@marko/testing-library renders and tests Marko components across standard test runners, including Vitest, Jest, and Mocha.

The official starters configure Vitest with two projects (server in Node and browser via Playwright/Preview) using @marko/vite so templates can be verified in both environments.

Component Development

Storybook previews and documents Marko components through @storybook/marko and @storybook/marko-vite.


Contributors

Helpful? You can thank these awesome people! You can also edit this doc if you see any issues or want to improve it.