JSPM

markdown-code-highlighting

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 67
  • Score
    100M100P100Q78239F
  • License MIT

Ember CLI plugin using Marked and Highlight.js for rendering markdown and syntax highlighting with highlight.js

Package Exports

  • markdown-code-highlighting

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (markdown-code-highlighting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Markdown-code-highlighting Build Status Ember Observer Score

Usage

  • Install the plugin: ember install markdown-code-highlighting
  • In your Brocfile you'll need to import the CSS styling you want for the highlighter. You can see the full list here. When you pick one you'll (like github.css) you'll import it by doing: app.import("bower_components/highlightjs/styles/github.css");
  • Now format some markdown! Call the helper on anything that has markdown by doing: {{format-markdown body}}. body is what you're passing in.

Contributing

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

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