Skip to content

ape-labo/ape-highlighting

Repository files navigation

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

About

ape framework module for highlighting.

Resources

License

Stars

Watchers

Forks

Packages

No packages published