npm

ape-highlighting

3.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ape-highlighting

Weekly Downloads

4

Version

3.1.0

License

MIT

Last publish

Collaborators

  • okunishinishi