36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
# JSON Content Formatter
|
|
|
|
A Chrome extension that formats JSON in the current tab, highlights with
|
|
highlight.js, linkifies URLs, and offers collapsible views and line numbers.
|
|
|
|
## Features
|
|
- Auto format (optional) for supported content types.
|
|
- Manual format via toolbar icon or context menu.
|
|
- Theme selection (light/dark + highlight.js theme).
|
|
- Line numbers toggle.
|
|
- Collapsible blocks for JSON, YAML, XML, and Markdown.
|
|
|
|
## Supported Languages
|
|
Defaults to JSON only. Enable additional languages in options:
|
|
- JSON
|
|
- Markdown
|
|
- Plaintext
|
|
- XML
|
|
- YAML
|
|
|
|
## Usage
|
|
1. Load the extension via `chrome://extensions` (Developer mode > Load unpacked).
|
|
2. Open the extension options to configure:
|
|
- Auto format
|
|
- Theme mode and highlight theme
|
|
- Line numbers
|
|
- Enabled languages
|
|
3. Use:
|
|
- Toolbar icon click to format the current tab
|
|
- Right-click the icon > "Einstellungen" to open options
|
|
- Right-click the page > "JSON jetzt formatieren"
|
|
|
|
## Notes
|
|
- Auto format requires host permissions to read page content.
|
|
- Manual formatting uses language auto-detection only for enabled languages.
|