<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def ajax_preview(request, **kwargs):
 """ Currently only supports markdown """

    data = {
        "html": render_to_string("pinax/blog/_preview.html", {
            "content": parse(request.POST.get("markup"))
        })
    }
    return JsonResponse(data)