ember-highlight-js

A quick and easy to use code highlighting component for Ember using highlight.js

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ember-highlight-js
9101.0.07 years ago8 years agoMinified + gzip package size for ember-highlight-js in KB

Readme

Ember-highlight-js

Installation

  • npm install --save-dev ember-highlight-js

Usage

{{highlight-js code=file lang=language hasLineNumbers=hasLineNumbers}}

Configuring the styles:
ENV.emberHighlightJs: {
  style: 'arta'
};

...

Development

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.