English | 简体中文
Check and format TOML 1.0 and 1.1 in the browser.
TomlSmith Playground uses TomlSmith through WebAssembly. Analysis and formatting run in the current browser tab.
Open the Playground or run the workbench from a source checkout. This checkout pins TomlSmith core 0.4.0; Cargo, CI, and deployment obtain that exact release from crates.io using Cargo.toml and Cargo.lock.
- Switch explicitly between TOML 1.0 and TOML 1.1.
- New and reset sessions start in TOML 1.1; the selected version is stored with the local working copy.
- Diagnostics and the format preview refresh automatically as you edit. The preview changes the source only when you apply it.
- Navigate diagnostics by source position and read messages on hover or keyboard focus.
- Inspect the formatted document, diagnostics, tokens, and document statistics side by side.
- Start from an included example, then copy, download, or apply the formatted result.
- Choose an English or Simplified Chinese interface. Source is not uploaded.
- The masthead shows the exact TomlSmith core crate version beside the WASM runtime status in local and deployed builds.
| Action | Shortcut |
|---|---|
| Analyze now | Ctrl/⌘ + Enter |
| Format and apply to the editor | Ctrl/⌘ + Shift + F |
| Indent or outdent | Tab / Shift + Tab |
| Move focus out of the editor | Escape, then Tab |
The playground stores only the latest source, selected TOML version, and interface language in browser-local storage. It does not upload source or persist the generated format preview. Clear site data or choose Reset to remove the saved working copy.
Read CONTRIBUTING.md for development and verification instructions.
TomlSmith Playground is released under the MIT License.