+++
# -----------------------------------------------------------------------
# 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`

