Skip to main content

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.

Metadata

Release files for markdown-plus 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for markdown-plus 0.1.4
File Size Uploaded
markdown_plus-0.1.4.tar.gz 42.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for markdown-plus 0.1.4
File Interpreter ABI Platform
markdown_plus-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 95.5 kB

Release files / markdown_plus-0.1.4.tar.gz

Download URL markdown_plus-0.1.4.tar.gz
Size 42.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c306f4d1b2c8a57b73b41febb62c9ce3ea554c422c6b043f3abfd27e6a84e2fb
BLAKE2b-256 checksum
How to use checksums
831556c99704ace61209a1f6f2a1ab6bdd1b4d78861a71b3ccebb4d9002cfd77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / markdown_plus-0.1.4-py3-none-any.whl

Download URL markdown_plus-0.1.4-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed185388177deef4469d05ad45c07134b2d7b04e18b92e97cae841ae48e079a2
BLAKE2b-256 checksum
How to use checksums
9cc70ada08893bdebad4b3f8cded4bafb1326871fb6b0b960ab1d1aca8919771
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page