Skip to main content

this package help developers to write Markdown & Markup in python

Project description

Mark2PY

M2P
THIS MODULE HELP YOU FOR WRITING MARKUP (HTM) & MARKDOWN (MD) IN YOUR PYTHON SCRIPT.


start with Mark2PY

For using Mark2PY, just you must PIP it.

> pip install Mark2PY

MarkDown

this module, inclue mistune for showing markdown.

  • H1 Mark2PY.Md.H1(text)

This is H1

  • H2 Mark2PY.Md.H2(text)

This is H2

  • H3 Mark2PY.Md.H3(text)

This is H3

  • bold Mark2PY.Md.bold(text)

This is bold

  • italic Mark2PY.Md.italic(text)

This is italic

  • strikethrough Mark2PY.Md.strikethrough(text)

This is strikethrough

  • block quote Mark2PY.Md.block_quote(text)

This is block quote

  • unordered list Mark2PY.Md.unordred_list(*args)
  1. This
  2. is
  3. unordred
  4. List
  • ordered list Mark2PY.Md.ordered_list(*args)
  • This
  • is
  • ordered
  • list
  • horizontal rule Mark2PY.Md.horizontal_rule() :

MarkUp

Will be enable

Example

import Mark2PY
Mark2PY.Md.bold("Hello")
Mark2PY.run("MD")
>>> <html><em>Hello</em></html>

Author

AMJ

this module is created by AMJoshaghani An iranian people; for all of python coders :) AMJoshaghani's site

please follow me on GitHub

god is so merciful! AMJoshaghani

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

Mark2PY-0.5.5.5.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file Mark2PY-0.5.5.5.tar.gz.

File metadata

  • Download URL: Mark2PY-0.5.5.5.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for Mark2PY-0.5.5.5.tar.gz
Algorithm Hash digest
SHA256 a2c630f29119a43315345f50bf9246e1e66bcc1c9db04decbbdc3f4e9fdaa764
MD5 e2e91d5fbe64364b559d191f7e7048df
BLAKE2b-256 056b69415e6d3f7a0b9df288bd39e75755d7d2e93f90625b203853eaa86d48c8

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