Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@elastic/prismjs-esql

elastic39.9kMIT1.1.0TypeScript support: included

Prism.js and Refractor ES|QL language syntax definitions for highlighting

esql, prism, prismjs, refractor, es|ql, elastic, spl

readme

Prism.js and refractor ES|QL grammar

This package contains the ES|QL grammar for Prism.js and refractor.

Usage:

import {register} from 'refractor';
import {esql} from '@elastic/prismjs-esql';

register(esql)

Releasing

Run test and build steps:

yarn test
yarn format
yarn lint
yarn build

Publish with release-it tool:

npx release-it

License

MIT