Skip to main content

Useful package for creating Markdown files while executing python code.

Project description

Build Status Documentation Status Coverage Status


This Python package contains a set of basic tools that can help to create a markdown file while running a Python code. Thus, if you are executing a Python code and you save the result in a text file, Why not format it? So using files such as Markdown can give a great look to those results. In this way, mdutils will make things easy for creating Markdown files.

MIT License, (C) 2018 Didac Coll <>


There are some different features available on that version of mdutils:

Writing and Reading Files

  • Write and Read Markdown files.

  • Append data to the end of a Markdown file.

  • Use markers to place text.


  • Implemented method to give format to the text: bold, italics, change color…

  • Align text.

  • Add headers of levels 1 til 6 (atx style) or 1 and 2 (setext style).

  • Create tables.

  • Create a table of contents.

  • Add Links.

  • Add Lists.

  • Add Markdown Images.

  • Add Html Images.



Use pip to install mdutils:

$ pip install mdutils


Use poetry to install mdutils:

$ poetry add mdutils

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

mdutils-1.6.0.tar.gz (22.9 kB view hashes)

Uploaded Source

Supported by

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