Skip to main content

Writer Markdown

A simple Python library for generating Markdown files using Python functions.

Features

  • Easy-to-use functions for writing Markdown
  • Supports headings, bold, italics, lists, tables, links, images, and more
  • Generates clean Markdown syntax
  • Includes a command-line tool for quick Markdown file creation

Installation

Install the package using pip:

pip install writer_markdown

Usage

Import the library

from writer_markdown import *

Create a Markdown file

content = ""
content += h1("Markdown Writer Library")
content += h2("Introduction")
content += bold("This library makes Markdown generation easy!") + "\n\n"
content += unordered_list(["Easy to use", "Supports multiple Markdown elements", "Generates clean Markdown"])
content += table(["Feature", "Supported"], [["Headings", "✅"], ["Lists", "✅"], ["Tables", "✅"]])
content += horizontal_rule()
content += link("GitHub Repository", "https://github.com/example")

write_to_file("example.md", content)

Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

Author

Created by Harsh."

Release files for writer-markdown 1.0

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

Source distribution (sdist)

Source distribution for writer-markdown 1.0
File Size Uploaded
writer_markdown-1.0.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for writer-markdown 1.0
File Interpreter ABI Platform
writer_markdown-1.0-py3-none-any.whl Python 3 none any Details

Total release size:3.7 kB

Release files / writer_markdown-1.0.tar.gz

Download URL writer_markdown-1.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e3138035aceb3e6dce5d49cebe9c9c7d44ef16447a45b6519104d21011193ea3
BLAKE2b-256 checksum
How to use checksums
efba163e4abbf976f85f3d264a339062106d48e5bd2f172f956121f6ccc65ced
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / writer_markdown-1.0-py3-none-any.whl

Download URL writer_markdown-1.0-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aeae7e0d87e3d8c94628022b1a08714c6d9a34bd82af0e2188ad7c840883ce2
BLAKE2b-256 checksum
How to use checksums
897b94686136a2bb23c0d8be19ad7f85bed41a7175596d8a1bc1cd02c22b9741
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

1.0 This release

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