@financial-times/o-syntax-highlight
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -26,2 +26,4 @@ "use strict"; | ||
require("prismjs/components/prism-yaml.js"); | ||
var _prismDiff = _interopRequireDefault(require("./languages/prism-diff.js")); | ||
@@ -28,0 +30,0 @@ |
@@ -58,2 +58,8 @@ { | ||
{ | ||
"title": "YAML", | ||
"name": "yaml", | ||
"template": "demos/src/yaml.mustache", | ||
"description": "Syntax highlight theme for YAML" | ||
}, | ||
{ | ||
"title": "SCSS", | ||
@@ -60,0 +66,0 @@ "name": "scss", |
@@ -26,3 +26,3 @@ { | ||
"name": "@financial-times/o-syntax-highlight", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "syntax highlighter for FT products", | ||
@@ -29,0 +29,0 @@ "homepage": "https://github.com/Financial-Times/o-syntax-highlight", |
@@ -17,3 +17,3 @@ | ||
This component provides accessible syntax highlighting for `bash`, `diff`, Javascript, JSON, HTML, CSS and Sass/SCSS. | ||
This component provides accessible syntax highlighting for `bash`, `diff`, Javascript, JSON, YAML/YML, HTML, CSS and Sass/SCSS. | ||
_If there are any languages you would like to highlight that we don't currently support, please open an issue and we will provide it._ | ||
@@ -69,2 +69,3 @@ | ||
- JSON: `o-syntax-highlight--json` | ||
- YAML: `o-syntax-highlight--yaml` | ||
- DIFF: `o-syntax-highlight--diff` | ||
@@ -154,2 +155,3 @@ | ||
- 'scss' _or_ 'sass' | ||
- 'yaml' | ||
@@ -156,0 +158,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28081
30
259
171