SlatePrism() function
SlatePrism() function
A Slate plugin to highlight code syntax.
Signature
export declare function SlatePrism(optsParam?: OptionsFormat, prismLanguages?: Prism.LanguageMap): Plugin;
Import
import { SlatePrism } from '@grafana/ui';
Parameters
Parameter | Type | Description |
---|---|---|
optsParam | OptionsFormat | |
prismLanguages | Prism.LanguageMap |
Returns:
Plugin