A modern, customizable, WCAG 2.1 Level AA/AAA compliant rich-text formatting toolbar for ServiceNow Work notes and Additional comments.
Built with Manifest V3, ServiceNow Formatter enhances standard ServiceNow journal fields with accessible formatting controls, smart paste sanitization, Markdown-style auto-lists, and a sleek settings popup for managing custom ServiceNow vanity domains.
- Text Formatting: Bold (
Ctrl+B), Italic (Ctrl+I), Underline (Ctrl+U), Strikethrough (Ctrl+Shift+S), and inline Code blocks (Ctrl+E). - Lists & Auto-Shortcuts: Bulleted lists (
Ctrl+Shift+8or type-) and Numbered lists (Ctrl+Shift+7or type1.) withBackspaceundo support. - Smart Hyperlinks & Auto-Link: Insert or remove links (
Ctrl+K) via an accessible modal with a lockedhttps://prefix, plus automatic URL linking when typinghttps://...followed by a space. - Web Image Insertion: Embed responsive images (
Ctrl+Shift+I) supporting both standard extensions (.png,.jpg,.webp,.gif,.svg,.avif) and extensionless CDN/gstatic image URLs. - Smart Paste Sanitization: Cleans pasted rich text from external docs/websites to match your ServiceNow theme while preserving callout boxes, tables, and lists—or switch to Plain Text Only mode.
- High-Contrast Color Profiles: Switch between WCAG AA (7:1+ contrast) and WCAG AAA (10:1+ contrast) paired background/foreground highlight palettes (Yellow, Red, Blue) that remain legible in both Light and Dark ServiceNow themes.
- Mandatory Image Alt Text (WCAG 1.1.1): Enforces descriptive screen-reader
alttext before inserting images (configurable in settings). - Full Keyboard Navigation: WAI-ARIA roving
tabindex(Left/Rightarrow keys across toolbar buttons) and high-visibility3pxfocus rings. - Assistive Technology Support:
aria-live="polite"status announcements (WCAG 4.1.3) and hover/focus/Escape-dismissible shortcut tooltips (WCAG 1.4.13).
- Custom Instance Manager: Add, edit, or remove custom ServiceNow vanity URLs directly from the extension popup using Manifest V3 dynamic content script registration.
- Appearance & Typography: Customize button styles (Icons + Text, Icons Only, Text Only), toolbar density, corner roundness, base font size, line spacing, minimum box height, and left-border accent colors.
- Portable Profiles: Export and import your configuration as a
.jsonfile to share standardized team setups.
ServiceNow Formatter wraps formatted HTML in [code]...[/code] tags so it renders natively inside ServiceNow's Activity Stream. For [code] tags to render as rich HTML rather than plain text, your ServiceNow instance must have the following system property enabled:
- System Property:
glide.ui.security.allow_codetag=true(enabled by default on most ServiceNow instances)
- Visit the ServiceNow Formatter listing on the Chrome Web Store (link coming soon).
- Click Add to Chrome (or Get in Microsoft Edge).
- Open any ServiceNow record and start formatting Work notes or Additional comments.
-
Clone or download this repository:
git clone https://github.com/Kyro25/ServiceNow-Formatter.git
-
Open chrome://extensions (or edge://extensions) in your browser.
-
Enable Developer mode in the top-right corner.
-
Click Load unpacked and select the folder containing manifest.json.