# MarkdownGfmMdToHtml

class

This is a helper class used by the [Markdown feature](module_markdown-gfm_markdown.md) to convert Markdown to HTML.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-markdown-gfm/src/markdown2html/markdown2html.ts#L48)

<a id="properties">

## Properties

<a id="member-_processor">

### `_processor: Processor<undefined, undefined, undefined, undefined, undefined>` _(private)_

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-markdown-gfm/src/markdown2html/markdown2html.ts#L49)

<a id="methods">

## Methods

<a id="function-constructor">

### `constructor( options = { options.plugins? } )`

Creates a new instance of MarkdownGfmMdToHtml.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-markdown-gfm/src/markdown2html/markdown2html.ts#L60)

#### Parameters

* `options: object`

  The options for the MarkdownGfmMdToHtml instance.

  Properties

  * `options.plugins?: Record<string, Pluggable>`

    The plugins to be used by the `unified().use()` processor for converting Markdown to HTML. By default, [`MarkdownGfmMdToHtmlDefaultPlugins`](module_markdown-gfm_markdown2html_markdown2html.md#constant-MarkdownGfmMdToHtmlDefaultPlugins) is used. You can override the defaults by passing your own plugins.

    Learn more about the `unified()` plugin chain in the [unified](https://github.com/unifiedjs/unified) documentation.

    Defaults to `MarkdownGfmMdToHtmlDefaultPlugins`

  Defaults to `{}`

<a id="function-parse">

### `parse( markdown ) → string`

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-markdown-gfm/src/markdown2html/markdown2html.ts#L66)

#### Parameters

* `markdown: string`

#### Returns

* `string`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
