An out-of-the-box solution for syntax highlighting with a couple of themes included
npm install ember-themed-syntax


An out-of-the-box solution for syntax highlighting with a couple of themes included
``bash`
ember install ember-themed-syntax
List of supported highlight.js languages
http://crodriguez1a.github.io/ember-themed-syntax/
The following params are accepted
- lang: default html - The coding language inside the blocktheme
- : default light - Your theme selectiontransparent
- : default false - When set to true, a background color will not be appliedwithBuffers
- : default true - Adds a line break to beginning and end of each blockcode
- : default '' - Use instead of template block parameter to bind code input
Template
`handlebars`
{{#themed-syntax lang="htmlbars" theme="dark"}}
{{! Some code }}
{{/themed-syntax}}
The default theme is set to light
`handlebars``
{{#themed-syntax lang="htmlbars"}}
{{! Some code }}
{{/themed-syntax}}