Skip to main content

Generator for markdown files.

Project description

Markdown Plus

Markdown / README Generator with advanced features like including files, generate content tables etc.

Markdowm Plus adds a syntax to markdown files that allows to generate content in place. Use this tool to avoid unnecessary work writing your README files by generating the generatable stuff!

Getting Started

Install mdplus with pip:

# from PyPi
pip install mdplus

# ... or from GitHub 
pip install git+https://github.com/icampus-wildau/markdown-plus.git

After the installation is completed, you can use MD+ generators in your markdown files.

To initialize a project with a mdplus template:

cd ~/your/project/
mdplus init 

In your README.md and other .md files, use various generators:

# Your project

Example of the content generator:
<!-- MD+:generate.content 
IGNORE = True  # Just to avoid generation of this block in this getting started README
-->

...

Then, use the mdplus command to generate the content:

cd ~/your/project/
mdplus parse .

This will generate the content in place:

# Your project

Example of the content generator:
<!-- MD+:generate.content 
header = '# Contents of this Repository'
level = 1
IGNORE = True  # Just to avoid generation of this block in this getting started README
-->
# Contents of this Repository

|      Dir     |            Content            |
|--------------|-------------------------------|
|[`docs`](docs)|The documentation for package. |
|[`foo`](foo)  |Some directory of your project.|
<!-- MD+FIN:generate.content -->

See the Documentation section for more information.

Features & Compatibility

Features of the project:

  • parse markdown files and generate content in place
  • initialize projects with templates

Future work:

  • more generators

Contents of this Repository

Dir Content
docs The documentation for package.
mdplus mdplus

Documentation

A more detailed documentation can be found at docs/README.md.

Questions/Issues

If you encounter any problems or have any questions, please open an issue on the GitHub repository.

Contributing

Contributions to extend the functionality or to solve existing problems are welcome! Requirements for pull requests are:

  • All code is tested
  • Naming is consistent with project naming
  • Commits are squashed and contain a clear commit message describing what functionality is added.

License

This project is licensed under the Apache License 2.0. For details, please see the LICENSE file. By contributing to this project, you agree to abide by the terms and conditions of the Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown_plus-0.1.3.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

markdown_plus-0.1.3-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file markdown_plus-0.1.3.tar.gz.

File metadata

  • Download URL: markdown_plus-0.1.3.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for markdown_plus-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c2c81ecd15da13a91f1ce85c06fb9092935114fb5ce02d4f3fc64bda1ac79cec
MD5 913a6075e34800baf1d7de37c250f053
BLAKE2b-256 039212ec128f716bf502c70d496a1ee1cce9a2d14c78c3b71feb0d123e9f3d98

See more details on using hashes here.

File details

Details for the file markdown_plus-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for markdown_plus-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 69706ee063ede34344ca03da2d3c28ba15590be40a1bcd55cce7a67a25626a7d
MD5 2765149be8101d9cb5aaf058305065b3
BLAKE2b-256 3fdd14353807c202be8285a53063cbb914082dadd69c20960b8d2a43b318f52a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page