Skip to main content

No project description provided

Project description

readmint

PyPI - Version PyPI - Python Version


A simple, yet effective way of adding some dynamic properties to you md.

Table of Contents

Installation

pip install readmint

Using it (shell)

Using it (api)

# import the render function

In [1]: from readmint.lib.renderer import render_text, render_file
        import textwrap

        print("hello world")
# render text just rendera passed text
In [2]: render_text(
            textwrap.dedent("""
                dummy text
                ==========
        
                And this is a code block
        
                ```readmint[python@local]
                1+1
                ```
            """)
        )

Out[2]: 
# dummy text

And this is a code block

```python

In [1]: 1+1

Out[1]: 2

## License

`readmint` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

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

readmint-0.0.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

readmint-0.0.1-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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