| home | about me | feed RSS feed

App Engine is a user-friendly platform which allows you to effortlessly test and deploy your web applications written in either Java or Python.

Thanks also to:

And because everybody likes a code sample, here's how I'm using Trent Mick's markdown2:

from lib.markdown2 import markdown

def md2_to_html(content):
    ''' convert markdown to html
        using markdown2
    '''
    if content:
        content_html = markdown(content, extras=['code-color'])
        return content_html
    else:
        return 0

Then to highlight your Python-source, you:

  1. indent four spaces and type :::python, and
  2. indent your entire code block by four spaces.

Thanks for reading!

created: 2010-01-22 | updated: 2015-11-20


comments:
on 2010-01-24 Miruška wrote:

Thank you.

on 2010-02-01 the wife (for now) wrote:

What is Markdown darling?

on 2010-02-06 the wife that has cold... wrote:

When are you going to add more things? Maybe what you did today...it's blog with no entries....do you really want me to start putting here the beauties of being a programmers wife??? ;-)

Comments are now closed for this post.