Skip to main content

Pagedown for Flask

Project description

Flask-MDE: Pagedown for Flask

Release v1.2.0 | Example application

Pagedown Editor with Google code-prettify for Flask. WTForms integration supported. From v1.2.0 Flask-MDE supports pagedown-extra.

Pagedown is a Markdown editor and previewer popularised by its use on StackOverflow. You can use the Flask-MDE extension to integrate the Pagedown editor into your Flask application.


Installing Flask-MDE is simple with pip. To install Flask-MDE, run the command

pip install Flask-MDE

in your terminal

Basic Usage

Assuming the following folder structure:

└── templates/
    └── index.html


from flask import Flask, render_template
from flask_mde import Mde

app = Flask(__name__)
mde = Mde(app)

def index():
    return render_template(

if __name__ == "__main__":


<!DOCTYPE html>
<html lang="en">

Read the user guide to check out all the features.

Project details

Download files

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

Files for Flask-MDE, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size Flask_MDE-1.2.0-py3-none-any.whl (86.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Flask-MDE-1.2.0.tar.gz (84.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page