This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datarenderMarkdown

renderMarkdown() function

renderMarkdown() function

Signature

export declare function renderMarkdown(str?: string, options?: RenderMarkdownOptions): string;

Import

import { renderMarkdown } from '@grafana/data';

Parameters

Parameter Type Description
str string
options RenderMarkdownOptions

Returns:

string