mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-14 10:13:21 +00:00
6 lines
171 B
Python
6 lines
171 B
Python
from core.templatetags.renderer import markdown
|
|
from django.http import HttpResponse
|
|
|
|
def render_markdown(request):
|
|
return HttpResponse(markdown(request.GET['text']))
|