Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Text Editing&Processing > Markup

    Marky 0.9.8

    Download button

    No screenshots available
    Downloads: 96  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Byron Ruth | More programs
    BSD License / FREE
    September 16th, 2012, 17:57 GMT
    ROOT / Text Editing&Processing / Markup

     Read user reviews (0)  Refer to a friend  Subscribe

    Marky description

    Markdown editor and previewer

    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


    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    markdown editor | markdown previewer | Python | markdown | editor

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM