No project description provided
Project description
dumas
Table of Contents
Installation
pip install dumas
Using it (shell)
Using it (api)
You could use dumas
as part of your own workflow/program
# First import the render functions
In [1]: from dumas.lib.renderer import render_text, render_file
import textwrap
MD_TEXT = textwrap.dedent("""
This is a regular MD
====================
with some `funny text` and some text
```dumas[python@readme]
x = 1+1
x**2
```
""")
In [2]: MD_TEXT
Out[2]:
This is a regular MD
====================
with some `funny text` and some text
\```dumas[python@readme]
x = 1+1
x**2
\```
In [3]: render_text(MD_TEXT)
Out[3]:
# This is a regular MD
with some `funny text` and some text
\```python
In [1]: x = 1+1
x**2
Out[1]: 4
\```
License
dumas
is distributed under the terms of the MIT 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
dumas-0.0.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
dumas-0.0.1-py3-none-any.whl
(6.0 kB
view hashes)