When I output the entire markdown content as a pdf, there is no block highlighting and it shows the incomplete markdown, with a portion on the right side being cut
from markdown_pdf import MarkdownPdf
from markdown_pdf import Section
def markdown_pdf_write(file_fullname, file_contents):
pdf = MarkdownPdf(toc_level=2)
pdf.add_section(Section(file_contents, toc=False))
pdf.save(file_fullname)
When I output the entire markdown content as a pdf, there is no block highlighting and it shows the incomplete markdown, with a portion on the right side being cut