Coder Social home page Coder Social logo

markdown-template's Introduction

Markdown template for the AsyncAPI Generator

All Contributors

Usage

ag asyncapi.yaml @asyncapi/markdown-template -o output

If you don't have the AsyncAPI Generator installed, you can install it like this:

npm install -g @asyncapi/generator

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

💻 📖 👀 🤔

Lukasz Gornicki

💻 📖 👀 🚇

Ilya Buzlov

💻 🐛

Julian Rabe

💻

Maciej Urbańczyk

📖 💻

Ludovic Dussart

💻

Mike Ralphson

💻

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

markdown-template's People

Contributors

asyncapi-bot avatar dependabot[bot] avatar derberg avatar magicmatatjahu avatar allcontributors[bot] avatar schw4rzlicht avatar fmvilas avatar hutchhutchhutch avatar ximyro avatar jonaslagoni avatar m3lkior avatar mikeralphson avatar mbeuil avatar

Watchers

James Cloos 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.