Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 718 Bytes

flavors.md

File metadata and controls

23 lines (15 loc) · 718 Bytes

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');
```