{"id":15292134,"url":"https://github.com/bittobennichan/flask-mde","last_synced_at":"2025-04-13T09:32:54.381Z","repository":{"id":53612759,"uuid":"211916094","full_name":"bittobennichan/Flask-MDE","owner":"bittobennichan","description":"Markdown editor with WTForms integration for Flask","archived":false,"fork":false,"pushed_at":"2023-05-15T20:51:07.000Z","size":567,"stargazers_count":26,"open_issues_count":6,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T20:03:00.997Z","etag":null,"topics":["flask","markdown","markdown-editor","pagedown"],"latest_commit_sha":null,"homepage":"https://flask-mde.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bittobennichan.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-30T17:29:12.000Z","updated_at":"2024-09-28T10:07:00.000Z","dependencies_parsed_at":"2022-08-26T05:02:02.969Z","dependency_job_id":null,"html_url":"https://github.com/bittobennichan/Flask-MDE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bittobennichan%2FFlask-MDE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bittobennichan%2FFlask-MDE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bittobennichan%2FFlask-MDE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bittobennichan%2FFlask-MDE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bittobennichan","download_url":"https://codeload.github.com/bittobennichan/Flask-MDE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248690952,"owners_count":21146239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","markdown","markdown-editor","pagedown"],"created_at":"2024-09-30T16:16:41.834Z","updated_at":"2025-04-13T09:32:54.069Z","avatar_url":"https://github.com/bittobennichan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flask-MDE: Pagedown for Flask\n=============================\n\nRelease v1.2.1 | `Example application \u003chttps://markdowneditor.pythonanywhere.com/\u003e`_\n\n.. image:: https://img.shields.io/pypi/v/flask_mde\n    :target: https://pypi.org/project/flask_mde/\n    \n.. image:: https://img.shields.io/pypi/l/flask_mde\n    :target: https://pypi.org/project/flask_mde/\n\n.. image:: https://img.shields.io/pypi/pyversions/flask_mde\n    :target: https://pypi.org/project/flask_mde/\n\n.. image:: https://readthedocs.org/projects/flask-mde/badge/?version=latest\n    :target: https://flask-mde.readthedocs.io/en/latest/?badge=latest\n   \n.. image:: https://pepy.tech/badge/flask-mde\n    :target: https://pepy.tech/project/flask-mde\n\n-------------------\n\n`Pagedown \u003chttps://github.com/StackExchange/pagedown\u003e`_ Editor with\n`Google code-prettify \u003chttps://github.com/google/code-prettify\u003e`_ for \n`Flask \u003chttps://palletsprojects.com/p/flask/\u003e`_. \n`WTForms \u003chttps://wtforms.readthedocs.io/en/stable/index.html\u003e`_ integration supported.\nFrom v1.2.0 Flask-MDE supports `pagedown-extra \u003chttps://github.com/jmcmanus/pagedown-extra\u003e`_.\n\nPagedown is a Markdown editor and previewer popularised by its use on \nStackOverflow. You can use the *Flask-MDE* extension \nto integrate the Pagedown editor into your Flask application.\n\nInstallation\n############\nInstalling Flask-MDE is simple with `pip \u003chttps://pip.pypa.io/en/stable/\u003e`_. To install Flask-MDE, \nrun the command \n\n..  code-block:: text\n\n    pip install Flask-MDE\n\nin your terminal\n\nBasic Usage\n###########\nAssuming the following folder structure:\n\n..  code-block:: text\n\n    .\n    ├── app.py\n    └── templates/\n        └── index.html\n\n**Files**\n\n*app.py*\n\n..  code-block:: python\n\n    from flask import Flask, render_template\n    from flask_mde import Mde\n\n    app = Flask(__name__)\n    mde = Mde(app)\n\n    @app.route('/')\n    def index():\n        return render_template(\n            \"index.html\"\n        )\n\n\n    if __name__ == \"__main__\":\n        app.run()\n\n*templates/index.html*\n\n..  code-block:: html\n\n    \u003c!DOCTYPE html\u003e\n    \u003chtml lang=\"en\"\u003e\n    \u003chead\u003e\n        {{mde.css}}\n    \u003c/head\u003e\n    \u003cbody\u003e\n        {{mde.editor()}}\n        {{mde.preview}}\n        {{mde.js}}\n    \u003c/body\u003e\n    \u003c/html\u003e\n\n\n`Read the user guide to check out all the features. \u003chttps://flask-mde.readthedocs.io/en/latest/user-guide.html\u003e`_\n\nLicenses that apply\n===================\n\n1. `Flask-MDE License (MIT) \u003chttps://github.com/bittobennichan/Flask-MDE/blob/master/LICENSE\u003e`_\n2. `Pagedown-Extra License \u003chttps://github.com/a100q100/pagedown-extra/blob/master/LICENSE.txt\u003e`_\n3. `Pagedown License \u003chttps://github.com/StackExchange/pagedown/blob/master/LICENSE.txt\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbittobennichan%2Fflask-mde","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbittobennichan%2Fflask-mde","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbittobennichan%2Fflask-mde/lists"}