Skip to content

Commit

Permalink
Merge pull request #1201 from castler/pdfbuilder_add_supported_images…
Browse files Browse the repository at this point in the history
…_types

pdfbuilder: Add supported_image_types attribute
  • Loading branch information
lornajane committed May 19, 2024
2 parents 8b75d29 + c8a00ae commit 8d854c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rst2pdf/pdfbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
class PDFBuilder(Builder):
name = 'pdf'
out_suffix = '.pdf'
supported_image_types = ['image/svg+xml', 'image/png', 'image/gif', 'image/jpeg']

def init(self):
self.docnames = []
Expand Down

0 comments on commit 8d854c3

Please sign in to comment.