pandoc

Flask and CSS file in pandoc generated HTML

Flask and CSS file in pandoc generated HTML Question: I have a Flask application generating and serving static HTML from markdown with pypandoc. Everything goes fine, but the css file is served as text/html and not text/css, therefore it is not interpretated. Firefox/Chromium gives the following error : The stylesheet http://127.0.0.1:5000/static/notes.css was not loaded because …

Total answers: 1