flask server to upload csv file and download markdown and pdf

This commit is contained in:
dechert
2021-06-16 19:01:41 +02:00
parent 7986ab6bab
commit 409c14dd56
6 changed files with 224 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block pageHeader %} CSV to marp Markdown Converter {% endblock %}
{% block content %}
<h2>Result</h2>
<!--<textarea rows="4" cols="50"> {{markdown_result}} </textarea>-->
<p>
<!-- will call e.g. route /tagebuch/download/2021-02 -->
<a class="btn btn-primary" href="{{url_for('download_file')}}">Download Markdown File</a>
<a class="btn btn-primary" href="{{url_for('download_pdf_file')}}">Download PDF File</a>
</p>
{% endblock %}