示例#1
0
文件: texit.py 项目: texit/texit
def tex(query):
    if MIXPANEL_TOKEN:
        mp.track(request.remote_addr, 'rendered tex')
    return Response(renderTex(query.replace(".png","").replace("$","").replace("/","\\")),mimetype='image/svg+xml')
示例#2
0
文件: texit.py 项目: todun/texit
def tex(query):
    return Response(renderTex(
        query.replace(".png", "").replace("$", "").replace("/", "\\")),
                    mimetype='image/png')
示例#3
0
def tex(query):
  if MIXPANEL_TOKEN:
    mp.track(request.remote_addr, 'rendered tex')
  return Response(renderTex(query.replace(".png","").replace("$","").replace("/","\\")),mimetype='image/svg+xml')
示例#4
0
文件: texit.py 项目: todun/texit
def tex(query):
	return Response(renderTex(query.replace(".png","").replace("$","").replace("/","\\")),mimetype='image/png')