grafana/docs/sources/packages_api/ui/slateprism.md
Marcus Andersson cc3fc18076
Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

36 lines
788 B
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "SlatePrism"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## SlatePrism() function
### SlatePrism() function
A Slate plugin to highlight code syntax.
<b>Signature</b>
```typescript
export declare function SlatePrism(optsParam?: OptionsFormat): Plugin;
```
<b>Import</b>
```typescript
import { SlatePrism } from '@grafana/ui';
```
<b>Parameters</b>
| Parameter | Type | Description |
| --- | --- | --- |
| optsParam | <code>OptionsFormat</code> | |
<b>Returns:</b>
`Plugin`