Marky

Software Screenshot:
Marky
Software Details:
Version: 0.9.8
Upload Date: 20 Feb 15
Developer: Byron Ruth
Distribution Type: Freeware
Downloads: 104

Rating: 4.0/5 (Total Votes: 1)

Marky is simple Django app that provides a single view and template for live editing Markdown documents. Copy in existing Markdown into the textarea or just start typing to see how the document will be rendered.

Install package

pip install marky

Add to INSTALLED_APPS

django.contrib.staticfiles is also required if the supplied template is used.

INSTALLED_APPS = (
 ...
 'django.contrib.staticfiles',
 'marky',
)


Create a base.html

Here is a starter template:

< !doctype html >
< html >
 < head >
 {% block styles %}{% endblock %}
 < /head >
 < body >
 {% block content %}
 {% endblock %}
 {% block scripts %}
 {% endblock %}
 < /body >
< /html >


Define a {% block content %}, {% block scripts %}, and {% block styles %} (should be in the < head >). If you prefer different named blocks, copy the marky template and rename the blocks to your preferences. Make sure the new template comes first on the template lookup path.

More a more complete base HTML template, I recommend using HTML5 Boilerplate.

Add it to urls.py

urlpatterns = patterns('',
 ...
 # ..or whatever endpoint you want
 url(r'', include('marky.urls')),
)


Enjoy

Requirements:

  • Python
  • Django

Similar Software

Other Software of Developer Byron Ruth

django-serrano
django-serrano

20 Feb 15

django-forkit
django-forkit

11 May 15

harvest-vocab
harvest-vocab

14 Apr 15

django-tracking2
django-tracking2

14 Apr 15

Comments to Marky

Comments not found
Add Comment
Turn on images!