1.0.2 • Published 4 years ago

markomatic v1.0.2

Weekly downloads
2
License
MPL-2.0
Repository
github
Last release
4 years ago

Markomatic

Generate Markdown files using partial templates and YAML configuration

Usage

Install markomatic

npm install -g markomatic

Create your template file, e.g. document.template.md

# Hello

It's {{ name }}, I like {{ hobby }}.

## Fruits

My favourite fruits are:
{% for fruit in fruits %}
    - {{ fruit }} {% endfor %}

Create your markomatic config file, e.g. markomatic.yaml

markomatic :
    input: ./document.template.md
    output : ./document.md
    variables :
        name : John
        hobby : programming
        fruits :
            - Apple
            - Orange
            - Avocado
            - Melon

Run the markomatic generator

$ markomatic ./markomatic

That's all! Check the output at ./document.md

# Hello

It's John, I like programming.

## Fruits

My favourite fruits are:

    - Apple 
    - Orange 
    - Avocado 
    - Melon 

Contributing

This project is following git-flow branching model.

  • Please create a branch from develop.
  • Name it something descriptive other than master, develop, release-*, or hotfix-*.
  • Open a pull request to develop.

Make sure your contributions are compatible with the license of this code.

Development

BranchStatus
masterBuild Status
developBuild Status

The development of this project is following gitflow branching model.

License

Copyright © 2019 Ezzat Chamudi

Markomatic code is licensed under MPL-2.0.

Libraries, dependencies, and tools used in this project are tied with their licenses.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago