Origami Frontend Components & Services

Demos: o-syntax-highlight

HTML

Syntax highlight theme for HTML

JavaScript

Syntax highlight theme for JavaScript

CSS

Syntax highlight theme for CSS

Inline Code

Syntax highlight theme for inline <code> tags

JSON

Syntax highlight theme for JSON

YAML

Syntax highlight theme for YAML

SCSS

Syntax highlight theme for SCSS

Diff

Syntax highlight theme for diff

Bash

Syntax highlight theme for bash

Status
active
Switch component view

GitHub Repository

Install o-syntax-highlight

If using the Build Service, add o-syntax-highlight@^4.1.0 to your script and link tags.

If using the npm package manager for a Manual Build, run npm install --save-peer "@financial-times/o-syntax-highlight@^4.1.0".

Help & Support

o-syntax-highlight is maintained directly by the Origami team. If you have any questions about o-syntax-highlight or Origami in general, we are happy to help. 😊

Slack: #origami-support
Email: origami.support@ft.com

Feedback / Issues

To report a bug or request features please create an issue on Github. For support or general feedback please get in touch 😊

Slack: #origami-support
Email: origami.support@ft.com