Skip to main content

A simple Python library to generate Markdown files.

Project description

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."

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

writer_markdown-1.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

writer_markdown-1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file writer_markdown-1.0.tar.gz.

File metadata

  • Download URL: writer_markdown-1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for writer_markdown-1.0.tar.gz
Algorithm Hash digest
SHA256 e3138035aceb3e6dce5d49cebe9c9c7d44ef16447a45b6519104d21011193ea3
MD5 625eaabad31eeda5ba35caec5765b747
BLAKE2b-256 efba163e4abbf976f85f3d264a339062106d48e5bd2f172f956121f6ccc65ced

See more details on using hashes here.

File details

Details for the file writer_markdown-1.0-py3-none-any.whl.

File metadata

  • Download URL: writer_markdown-1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for writer_markdown-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0aeae7e0d87e3d8c94628022b1a08714c6d9a34bd82af0e2188ad7c840883ce2
MD5 998ca3426bc519b432c8007c7c177fad
BLAKE2b-256 897b94686136a2bb23c0d8be19ad7f85bed41a7175596d8a1bc1cd02c22b9741

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page