mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(datasheet): allow svg images
This commit is contained in:
+1
-5
@@ -462,12 +462,8 @@ class Project():
|
||||
# handle pictures
|
||||
yaml['picture_link'] = ''
|
||||
if yaml['picture']:
|
||||
# skip SVG for now, not supported by pandoc
|
||||
picture_name = yaml['picture']
|
||||
if 'svg' not in picture_name:
|
||||
yaml['picture_link'] = ''.format(picture_name)
|
||||
else:
|
||||
logging.warning("svg not supported")
|
||||
yaml['picture_link'] = ''.format(picture_name)
|
||||
|
||||
# now build the doc & print it
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user