Skip to content

Flavors

v5 selects the output style with boolean flags on Config. Each flag is independent:

FlavorFlagWhat it produces
GitHubGithubFlavored = trueGitHub-flavored markdown for br, pre, task lists, and tables.
SlackSlackFlavored = trueSlack mrkdwn: *bold*, _italic_, ~strike~, and bullets.
TelegramTelegramMarkdownV2 = trueTelegram MarkdownV2 with its escaping rules and fallbacks.
CommonMarkCommonMark = trueCommonMark-focused output.

By default (no flags set) ReverseMarkdown produces general-purpose markdown. Note that tables are always emitted as GitHub-flavored markdown regardless of the GithubFlavored flag.

Combine with care

The flavor flags are independent booleans, not a single selector. Combining CommonMark with GithubFlavored can produce mixed output - keep them separate unless you explicitly want that behavior.

v6 uses a single Flavor enum

v6 replaces these booleans with one canonical Flavor enum (and adds MultiMarkdown and Pandoc). See the v6 flavors documentation.

Released under the MIT License.