Sith/core/views/api.py

5 lines
159 B
Python
Raw Normal View History

from django.shortcuts import render
def render_markdown(request):
return render(request, 'core/api/markdown.html', context={'text': request.GET['text']})