From d3da742f209fbb7285df518b12c73c510a23a6bb Mon Sep 17 00:00:00 2001 From: Lucas Cimon <925560+Lucas-C@users.noreply.github.com> Date: Thu, 6 Feb 2025 00:01:34 +0100 Subject: [PATCH] Pleasing black --- tutorial/md2pdf_markdown.py | 3 ++- tutorial/md2pdf_markdown_it.py | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tutorial/md2pdf_markdown.py b/tutorial/md2pdf_markdown.py index 97dcf441f..9a80c6eb8 100644 --- a/tutorial/md2pdf_markdown.py +++ b/tutorial/md2pdf_markdown.py @@ -60,7 +60,8 @@ ![Alternate description](https://py-pdf.github.io/fpdf2/fpdf2-logo.png) """, -extensions=["def_list", "sane_lists", "tables"]) + extensions=["def_list", "sane_lists", "tables"], +) from fpdf import FPDF diff --git a/tutorial/md2pdf_markdown_it.py b/tutorial/md2pdf_markdown_it.py index 660d30bc3..f106926bc 100644 --- a/tutorial/md2pdf_markdown_it.py +++ b/tutorial/md2pdf_markdown_it.py @@ -1,7 +1,10 @@ from markdown_it import MarkdownIt -md = MarkdownIt("commonmark", {"breaks":True,"html":True})\ - .enable("strikethrough").enable("table") +md = ( + MarkdownIt("commonmark", {"breaks": True, "html": True}) + .enable("strikethrough") + .enable("table") +) html = md.render( """ # Top title (ATX)