8000 GitHub - aleivag/readmint: add some coding to your mds
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add some coding to your mds

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.md
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

aleivag/readmint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

add some coding to your mds

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.md
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0