ape-highlighting

ape framework module for highlighting.


Keywords
ape, highlighting
License
MIT
Install
npm install ape-highlighting@3.1.0

Documentation

ape-highlighting

Build Status Code Climate Code Coverage npm Version JS Standard

ape framework module for highlighting.

Installation

$ npm install ape-highlighting --save

Usage

Highlight JSX source code.

'use strict'

const apeHighlighting = require('ape-highlighting')
const fs = require('fs')

let highlighed = apeHighlighting.highlightJsx(
  fs.readFileSync(require.resolve('../jsx/some-jsx.jsx'))
)

console.log(highlighed)

License

This software is released under the MIT License.

Links