All Projects → bittobennichan → Flask-MDE

bittobennichan / Flask-MDE

Licence: MIT license
Markdown editor with WTForms integration for Flask

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Flask-MDE

Remarkable
Remarkable - The Markdown Editor for Linux http://remarkableapp.github.io
Stars: ✭ 1,763 (+8295.24%)
Mutual labels:  markdown-editor
Markdown Edit
online markdown editor/viewer
Stars: ✭ 188 (+795.24%)
Mutual labels:  markdown-editor
Toonote
小兔笔记:Markdown 内置数据 跨平台 加密存储
Stars: ✭ 247 (+1076.19%)
Mutual labels:  markdown-editor
Mpeditor
微信markdown编辑器
Stars: ✭ 146 (+595.24%)
Mutual labels:  markdown-editor
Markdown
📖Clean & Modern MarkDown Generator, 🔌Offline Support and Easy Generation of Markdown ⚡️⚛️ https://github.com/JP1016/Markdown-Electron/releases
Stars: ✭ 170 (+709.52%)
Mutual labels:  markdown-editor
Miikun
Simple Markdown Editor using Electron.
Stars: ✭ 215 (+923.81%)
Mutual labels:  markdown-editor
Woofmark
🐕 Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
Stars: ✭ 1,594 (+7490.48%)
Mutual labels:  markdown-editor
ember-simplemde
A wrapper around the SimpleMDE editor for use in Ember CLI projects.
Stars: ✭ 14 (-33.33%)
Mutual labels:  markdown-editor
Kirby Visual Markdown
Visual Markdown Editor for Kirby CMS 2
Stars: ✭ 171 (+714.29%)
Mutual labels:  markdown-editor
Panwriter
Markdown editor with pandoc integration and paginated preview.
Stars: ✭ 242 (+1052.38%)
Mutual labels:  markdown-editor
Rtlmd
rtl markdown editor
Stars: ✭ 152 (+623.81%)
Mutual labels:  markdown-editor
Pervane
Plain text file based note taking and knowledge base building tool, markdown editor, simple browser IDE.
Stars: ✭ 159 (+657.14%)
Mutual labels:  markdown-editor
Mindforger Repository
MindForger documentation repository.
Stars: ✭ 221 (+952.38%)
Mutual labels:  markdown-editor
Proton
A stand-alone application to quickly preview and edit Markdown files using Electron.
Stars: ✭ 140 (+566.67%)
Mutual labels:  markdown-editor
Pine
A modern, native macOS markdown editor
Stars: ✭ 2,818 (+13319.05%)
Mutual labels:  markdown-editor
Editor.md
The open source embeddable online markdown editor (component).
Stars: ✭ 11,741 (+55809.52%)
Mutual labels:  markdown-editor
Abricotine
Markdown editor with inline preview
Stars: ✭ 2,308 (+10890.48%)
Mutual labels:  markdown-editor
hoodie-notes
A Markdown notebook built with React and Hoodie
Stars: ✭ 17 (-19.05%)
Mutual labels:  markdown-editor
rentry
Markdown pastebin from command line
Stars: ✭ 252 (+1100%)
Mutual labels:  markdown-editor
Table Magic
Converts between CSV, HTML and Markdown. Has a little form editor and a preview.
Stars: ✭ 243 (+1057.14%)
Mutual labels:  markdown-editor

Flask-MDE: Pagedown for Flask

Release v1.2.1 | Example application

https://img.shields.io/pypi/v/flask_mde https://img.shields.io/pypi/l/flask_mde https://img.shields.io/pypi/pyversions/flask_mde https://readthedocs.org/projects/flask-mde/badge/?version=latest https://pepy.tech/badge/flask-mde

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.

Installation

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:

.
├── app.py
└── templates/
    └── index.html

Files

app.py

from flask import Flask, render_template
from flask_mde import Mde

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

@app.route('/')
def index():
    return render_template(
        "index.html"
    )


if __name__ == "__main__":
    app.run()

templates/index.html

<!DOCTYPE html>
<html lang="en">
<head>
    {{mde.css}}
</head>
<body>
    {{mde.editor()}}
    {{mde.preview}}
    {{mde.js}}
</body>
</html>

Read the user guide to check out all the features.

Licenses that apply

  1. Flask-MDE License (MIT)
  2. Pagedown-Extra License
  3. Pagedown License
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].