Skip to content

tomassommar/cmsplugin-simple-markdown

 
 

Repository files navigation

cmsplugin-simple-markdown

Simple Markdown plugin is just a simple markdown plugin for django-cms. It's brutally simple. Just a text area and you'll entered some markdown text and save it. And the reason why I make this is that, I really couldn't find any simple as stupid plugin for django-cms, all I've found was fancy with a lot of java script stuff.

  • django-cms
  • django-markdown

cmsplugin-simple-markdown is available on PyPi:

http://pypi.python.org/pypi/cmsplugin-simple-markdown

$ pip install cmsplugin-simple-markdown

You can get latest stable changes from github server:

$ git clone https://github.com/Alir3z4/cmsplugin-simple-markdown.git
$ cd cmsplugin-simple-markdown
$ python setup.py install

You can grab the latest tarball.

*unix

Get the latest tarball & install

$ wget https://github.com/Alir3z4/cmsplugin-simple-markdown/archive/master.tar.gz
$ tar xvzf cmsplugin-simple-markdown-master.tar.gz && cd cmsplugin-simple-markdown-master
$ python setup.py install

Download latest zip archive.

https://github.com/Alir3z4/cmsplugin-simple-markdown/archive/master.zip

Extract the archive, and run the following command in root directory of cmsplugin-simple-markdown

$ python setup.py install

Most people says that installation of cmsplugin-simple-markdown is easy, Seems they're out of space. It's fucking hard to install.

  1. Add cmsplugin_simple_markdown to INSTALLED_APPS.

  2. If you are using Django 1.7 add 'cmsplugin_simple_markdown': 'cmsplugin_simple_markdown.migrations_django', to MIGRATION_MODULES in settings.

  3. Create the database tables:

    $ python manage.py migrate
    

This is not easy, It's hard, confusing. I doubt, double doubt that those people that keep saying installing this is easy are on something.

Since every application won't begins with love, this plugin developed to solve a problem. 2 days back, I've been using cms.plugin.text for handling html pages and related content, but when I've tried to use aws s3/cloudfront for my static files, I've stuck with CORS problem. So I've develop cmsplugin-simple-markdown to be used without any deps on js/css files.

Now these days, people all around the world are using it, They are happy with it, They go crazy with cmsplugin-simple-markdown, Even they name their child cmsplugin-simple-markdown, At least I did. ;)

About

A plugin for django-cms that provides just a markdown plugin and nothing more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.6%
  • HTML 0.4%