@financial-times/o-syntax-highlight
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -28,3 +28,3 @@ { | ||
"name": "@financial-times/o-syntax-highlight", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "syntax highlighter for FT products", | ||
@@ -40,4 +40,4 @@ "homepage": "https://github.com/Financial-Times/o-syntax-highlight", | ||
"eslint-config-origami-component": "^2.0.1", | ||
"origami-ci-tools": "^1.3.8" | ||
"origami-ci-tools": "^1.3.12" | ||
} | ||
} |
@@ -138,2 +138,8 @@ | ||
## Troubleshooting | ||
### How do I use Marked to convert Markdown files to HTML with o-syntax-highlight code blocks? | ||
When using [Marked](https://www.npmjs.com/package/marked) it is possible to override its default renderer so you can create custom output for code blocks. To get `o-syntax-highlight` compatible output see the [example in this Github issue](https://github.com/Financial-Times/o-syntax-highlight/issues/49). | ||
## Migration | ||
@@ -140,0 +146,0 @@ |
31973
160