Giter Site home page Giter Site logo

markdown-template's Introduction

Markdown template for the AsyncAPI Generator

All Contributors

Usage

Install AsyncAPI CLI

npm install -g @asyncapi/cli

Generate using CLI

asyncapi generate fromTemplate <asyncapi.yaml> @asyncapi/[email protected]

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

Name Description Required Default Allowed values Example
frontMatter The 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 slate No None Any JSON or YAML formatted file slate.yaml
outFilename The filename of the output file. No asyncapi.md Any with .md extension index.md
toc Include a Table-of-Contents in the output markdown. No true boolean false
version Override the version of your application provided under info.version location in the specification file. No Version is taken from the specification file. Version is taken from the spec file. 1.0.0

Development

  1. Make sure you have the latest generator installed npm install -g @asyncapi/generator.
  2. Modify the template or it's reusable parts. Adjust test/spec/asyncapi.yml to have more complexity if needed.
  3. Generate output with watcher enabled by running the command npm run dev.
  4. Check generated markdown file located in ./test/output/asyncapi.md.

Parameters for the template are defined in package.json.

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

📖

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

markdown-template's People

Contributors

allcontributors[bot] avatar arya-gupta avatar asyncapi-bot avatar codingtenshi avatar dalelane avatar dependabot[bot] avatar derberg avatar fmvilas avatar germichael avatar hutchhutchhutch avatar jonaslagoni avatar m3lkior avatar magicmatatjahu avatar mbeuil avatar mikeralphson avatar schw4rzlicht avatar stsydow avatar stuartforrest-infinity avatar ximyro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.