showdown/docs/flavors.md
2022-03-30 01:27:06 +03:00

718 B

Overview

You can use flavors (or presets) to set the preferred options automatically. In this way, Showdown behaves like popular Markdown flavors.

Currently, the following flavors are available:

Set flavor

=== "Globally"

```js
showdown.setFlavor('github');
```

=== "Locally"

```js
converter.setFlavor('github');
```