Skip to content

Commit 81236cf

Browse files
hugovkAA-Turner
andauthored
PEP 12: SVG is allowed after PEP 676 (#4741)
Co-authored-by: Adam Turner <[email protected]>
1 parent 1636707 commit 81236cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

peps/pep-0012.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,10 @@ processed output using the ``image`` directive:
599599
600600
.. image:: diagram.png
601601
602-
Any browser-friendly graphics format is possible; PNG should be
602+
Any browser-friendly graphics format is possible; SVG or PNG are
603603
preferred for graphics, JPEG for photos and GIF for animations.
604-
Currently, SVG must be avoided due to compatibility issues with the
605-
PEP build system.
604+
Images should be optimised to reduce their file size, and should
605+
be legible in both light and dark mode in the browser.
606606

607607
For accessibility and readers of the source text, you should include
608608
a description of the image and any key information contained within

0 commit comments

Comments
 (0)