code: def ajax_preview(request, **kwargs):
      
      data = {
          "html": render_to_string("pinax/blog/_preview.html", {
              "content": parse(request.POST.get("markup"))
          })
      }
      return JsonResponse(data)
docs: Currently only supports markdown