Bootstrap CSS is not applied in weasyprint
问题 I have made a flask application which generates .pdf from html with weasyprint and send it as attachment. But apparently bootstrap 4 css is not applied. I can't find a solution. It is working well with pdfkit but I need weasyprint, since pythonanywhere.com does not support pdfkit. I have tried linking bootstrap, using bootstrap css as file in my html, but there was no difference. This is my python part, which generates and sends pdf. @app.route('/pdf_send', methods=('GET', 'POST')) @login