Markdown Pypi



Latest version

Released:

Markdown project descriptions on PyPI! Contribute to di/markdown-description-example development by creating an account on GitHub. In this PyPi Tutorial, we will learn how to publish an Open Source Python Package to PyPi.Packaging Python can be done using python setup.py tutorial.PyPi ho. Python Anaconda, PyCharm IDE, and Conda & PyPI Packages. Think of R Markdown as a way for you to write up your project report and code up your math at. Pydoc-Markdown is a tool and library to create Python API documentation in Markdown format based on lib2to3, allowing it to parse your Python code without executing it. Pydoc-Markdown requires Python 3.6 or newer, however the code that you want to generate API documentation for can be for any Python version. » Go to the Documentation.

Django markdown support and wysiwyg.

Project description

Django markdown is django application that allows use markdown wysiwyg in flatpages, admin forms and other forms.Documentaton available at pypi or github.

Contents

Installation

Django markdown should be installed using pip:

Setup

Note

Markdown Pypi

‘django_markdown’ require ‘django.contrib.staticfiles’ in INSTALLED_APPS

  • Add ‘django_markdown’ to INSTALLED_APPS

  • Add django_markdown urls to base urls

Use django_markdown

  1. Models:

  2. Custom forms:

  3. Custom admins:

  4. Admin Overrides: (If you don’t want to subclass package ModelAdmin’s)

  5. Flatpages:

  6. Template tags:

Markdown2

Settings

MARKDOWN_EDITOR_SETTINGS - holds the extra parameters set to be passed to textarea.markItUp()

MARKDOWN_EDITOR_SKIN - skin option, default value is markitup

Example: settings.py

MARKDOWN_EXTENSIONS - optional list of extensions passed to Markdown, discussed at https://pythonhosted.org/Markdown/extensions/index.html#officially-supported-extensions

Python Markdown Editor

Example: settings.py

MARKDOWN_EXTENSION_CONFIGS - Configure extensions, discussed at https://pythonhosted.org/Markdown/reference.html#extension_configs

MARKDOWN_PREVIEW_TEMPLATE - Template for preview a markdown. By default django_markdown/preview.css

MARKDOWN_STYLE - path to preview styles. By default django_markdown/preview.css

MARKDOWN_SET_PATH - path to folder with sets. By default django_markdown/sets

MARKDOWN_SET_NAME - name for current set. By default markdown.

MARKDOWN_PROTECT_PREVIEW - protect preview url for staff only

Examples

Pypi

Execute make run in sources directory. Open http://127.0.0.1:8000 in yourbrowser. For admin access use ‘root:root’ credentials.

Changes

Make sure you`ve read the following document if you are upgrading from previous versions:

Markdown Pypi Setup

Bug tracker

If you have any suggestions, bug reports orannoyances please report them to the issue trackerat https://github.com/klen/django_markdown/issues

Contributing

Development of django-markdown happens at github: https://github.com/klen/django_markdown

Contributors

  • klen (Kirill Klenov)
  • yavorskiy (Sergii Iavorskyi)

License

Licensed under a GNU lesser general public license.

Copyright

Copyright (c) 2011 Kirill Klenov (horneds@gmail.com)

Markitup:
(c) 2008 Jay Salvathttp://markitup.jaysalvat.com/

Release historyRelease notifications | RSS feed

0.8.4

0.8.3

0.8.1

0.8.0

0.7.1

0.7.0

0.6.1

0.6.0

0.5.4

0.4.0

0.3.0

0.2.5

0.2.4

0.2.3

0.2.2

Pypi Markdown Readme

0.2.1

0.2.0

0.1.0

0.0.9

0.0.8

0.0.7

0.0.6

0.0.5

0.0.4

0.0.3

Markdown Pypi

0.0.2

Markdown

0.0.1

Python Markdown To Html

0.0.0

Download files

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

Python Markdown Library

Pypi
Files for django-markdown, version 0.8.4
Filename, sizeFile typePython versionUpload dateHashes
Filename, size django_markdown-0.8.4-py2.py3-none-any.whl (97.0 kB) File type Wheel Python version py2.py3 Upload dateHashes
Filename, size django-markdown-0.8.4.tar.gz (68.5 kB) File type Source Python version None Upload dateHashes
Close

Hashes for django_markdown-0.8.4-py2.py3-none-any.whl

Hashes for django_markdown-0.8.4-py2.py3-none-any.whl
AlgorithmHash digest
SHA256118d3a3b0dda0279785c007720fe594ccf9fa4cc1d6cee878bb81d36a02dd668
MD59de75e296c5a0b8c9065611a650f23f3
BLAKE2-25621fbdd7837fdf86012a657df79aea607a2d701e89c5549342c2bb74b33cb6219
Close

Hashes for django-markdown-0.8.4.tar.gz

Hashes for django-markdown-0.8.4.tar.gz
AlgorithmHash digest
SHA256bab6719cac47c7139c9f489816a99fd656caa56d364a2b7d2137db698219b402
MD546b002d24797c7274e3b3106ecd1982e
BLAKE2-256130912aa1b161620da511bdde3b664d8d6479d42e18d04d34d64f82f384dbf37
I wrote a simple readme to one of my Python package Fadapa. I built the package using setuptools. In setup.py file, for long_description field I just read README.md file and assigned it. After uploading the package to PyPi, I saw the page and found that PyPi doesn't support Markdown format. So I had to change it to reStructuredText.
Pandoc is the best tool available to convert markup formats. It supports a lot of formats and you can convert it to any format you want.
If you have a few documents to convert, you can convert them online. You can also install in in your system if you want to convert a lot files. Instructions on how to install on various operating systems is give here.
For ubuntu you can install by
Then you can convert files using
This converts readme.md to readme.rst.
Pypandoc is a simple python wrapper for pandoc. Using that also, you can convert files.
Install it using pip
and then to convert files just do

Update: There is an feature request with pull request to add support for Markdown for PyPi.