Files
chrome-dev-formatter/README.md
Florian Weber fcfd11faae
All checks were successful
Release / release (push) Successful in 1m20s
Added README and release workflow for versioning
2026-01-21 13:07:28 +01:00

1.1 KiB

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.