Markdown template for the AsyncAPI Generator

December 17, 2025 · View on GitHub

All Contributors

Usage

Install AsyncAPI CLI

npm install -g @asyncapi/cli

Generate using CLI

asyncapi generate fromTemplate <asyncapi.yaml> @asyncapi/markdown-template@2.0.0

You can replace <asyncapi.yaml> with local path or URL pointing to any AsyncAPI document. Look into Releases of this template to pick up the version you need. It is not recommended to always use the latest in production. Always use a specific version.

Supported parameters

NameDescriptionRequiredDefaultAllowed valuesExample
frontMatterThe name of a JSON or YAML formatted file containing values to provide the YAML frontmatter for static-site or documentation generators, just like this one. The file may contain {{title}} and {{version}} tags. They are replaced with information for the AsyncAPI document that is under info.title and info.version. You can overwrite the version with version parameter. Here you can see an example that uses tags in frontmatter compatible with slateNoNoneAny JSON or YAML formatted fileslate.yaml
outFilenameThe filename of the output file.Noasyncapi.mdAny with .md extensionindex.md
tocInclude a Table-of-Contents in the output markdown.Notruebooleanfalse
versionOverride the version of your application provided under info.version location in the specification file.NoVersion is taken from the specification file.Version is taken from the spec file.1.0.0

Development

The best and most reliable way of developing template is by using Generator's build in CLI. Clone Generator and follow official development guide.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Fran Méndez
Fran Méndez

💻 📖 👀 🤔 🚧 🐛 ⚠️
Lukasz Gornicki
Lukasz Gornicki

💻 📖 👀 🚇 🚧 🐛 ⚠️
Ilya Buzlov
Ilya Buzlov

💻 🐛
Julian Rabe
Julian Rabe

💻
Maciej Urbańczyk
Maciej Urbańczyk

📖 💻 🚧 🐛 👀 ⚠️
Ludovic Dussart
Ludovic Dussart

💻
Mike Ralphson
Mike Ralphson

💻
stuartforrest-infinity
stuartforrest-infinity

🐛 💻
Dale Lane
Dale Lane

💻 🤔
Michael Gerischer
Michael Gerischer

💻 🐛 ⚠️
Arya Gupta
Arya Gupta

📖
Kirill Efimov
Kirill Efimov

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!