feat: Enable syntax highlighting for PDFs in Sphinx configuration

This commit is contained in:
Alex Davies 2024-10-16 11:48:39 -03:00
parent 9fe800df0f
commit 0cfd7cc78a
1 changed files with 3 additions and 0 deletions

View File

@ -65,3 +65,6 @@ html_theme_options = {
latex_engine = "xelatex" latex_engine = "xelatex"
# Configure LaTeX options for PDF generation # Configure LaTeX options for PDF generation
latex_show_urls = 'footnote' latex_show_urls = 'footnote'
# Enable syntax highlighting for PDFs
pygments_style = 'sphinx'