def list_commands(request):
    # if none exist throw a 404
    commands = get_list_or_404(Command)
    context = {
        'commands': commands,
    }
    return render_to_response('list_commands.html', context,
        context_instance=RequestContext(request))
Turn Markdown link shortcuts into XHTML <a> and <img> tags.
dataset/ETHPy150Open garethr/Asteroid/asteroid/apps/runner/views.py/list_commands--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/markdown/markdown2.py/Markdown._do_links