mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
36 lines
788 B
Markdown
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`
|
||
|
|