Python Markdown Maker
Python Objects for Markdown
Python Markdown maker use to write markdown documents in the Pythonic wayInstallation
$ git clone https://github.com/yogeshwaran01/python-markdown-maker/
$ cd python-markdown-maker/
$ python3 setup.py install
Usage
| Elements | Normal Markdown | Pythonic Markdown |
|---|---|---|
| Headings | ## Python |
headers('Python', level=3) |
| Images |  |
image(src, alt) |
| Links | [text](link) |
links(link, text) |
| Bold | **Bold** |
styled_text(text, bold=True) |
| Italic | *Italic* |
styled_text(text, italic=True) |
| Striketrough | ~~text~~ |
styled_text(text, strikethrough=True |
| Inline code | some code |
inline_code("some code") |
| Blackquotes | > text are super |
blockquotes('text are super') |
Code Blocks
code_block("print('Hello World!')", lang='python')
UnOrdered List
lists(['Python', 'Javascript', 'Go', 'PhP'])
- Python
- Javascript
- Go
- PhP
Ordered List
lists(['order', 'Python', 'Javascript', 'Go', 'PhP'])
1. Python
2. Javascript
3. Go
4. PhP
Both Ordered & Unorder list
lists([
'Frontend',[
'order', 'Html', 'Css', 'Javascript'
],
'Backend',[
'order', 'Python', 'Postgress'
]
])
- Frontend 1. Html 2. Css 3. Javascript
- Backend 1. Python 2. Postgress
Tables
t = Table(["Languages", "Uses"])
t.add_item("Python", "ML/AI")
t.add_item("Javascript", "Web Dev")
table = t.render()
Languages | Uses
--------- | ----
Python | ML/AI
Javascript | Web Dev
Rendering
from python_markdown_maker import *
ou = lists([
'Frontend',[
'order', 'Html', 'Css', 'Javascript'
],
'Backend',[
'order', 'Python', 'Postgress'
]
])
t = Table(["Languages", "Uses"])
t.add_item(["Python", "ML/AI"])
t.add_item(["Javascript", "Web Dev"])
table = t.render()
items = lists(['order', 'Python', 'Javascript', 'Go', 'PhP'])
md = Document()
md.write([ou, table, items])
with open('code.md', 'w') as file:
md.render.save_as_md(file)
# md.render.save_as_html(file)
# md.render.to_html()
# md.render.text
Metadata
Release files for python-markdown-maker 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-markdown-maker-1.0.tar.gz | 4.3 kB | Without provenance | Details for python-markdown-maker-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_markdown_maker-1.0-py3-none-any.whl | Python 3 | none | any | Details for python_markdown_maker-1.0-py3-none-any.whl |
Total release size: 8.7 kB
Release files / python-markdown-maker-1.0.tar.gz
| Download URL | python-markdown-maker-1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42072f0faecf3379d1602a20836569b83b4cda672a27002c15861e47f36f9ad1
|
|
BLAKE2b-256 checksum How to use checksums |
07c90589649a9b436f95d85adef02cb0ee0aeb2ffae10ac8208a3e02e6bfc4af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / python_markdown_maker-1.0-py3-none-any.whl
| Download URL | python_markdown_maker-1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e07be11544f2d3686853c1f65c22005491a4ef8023fe61a321039bcdecc9f7e4
|
|
BLAKE2b-256 checksum How to use checksums |
419a1a51860c51f8c2d2ae15cb597b9c8a00ebe0f453f1e9a5ec8b9b9b3ed219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Security for python-markdown-maker 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.