mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix code block formatting
This commit is contained in:
@@ -130,10 +130,14 @@ Linux/Mac
|
||||
Using ImageMagicks ``convert`` or ``mogrify`` fixes these warnings.
|
||||
To fix all PNGs in a project folder do:
|
||||
|
||||
find . -type f -name "*.png" -exec convert {} {} \;
|
||||
.. code-block:: shell
|
||||
|
||||
$ find . -type f -name "*.png" -exec convert {} {} \;
|
||||
|
||||
``pngcheck`` is also useful in locating the non-conforming images:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
find . -type f -name "*.png" -exec pngcheck {} \;
|
||||
|
||||
Windows
|
||||
@@ -141,4 +145,6 @@ Windows
|
||||
Using `optiPNG <http://optipng.sourceforge.net/>` fixes these warnings on Windows.
|
||||
To fix a PNG inplace do:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
optipng -clobber -strip all file.png
|
||||
|
||||
Reference in New Issue
Block a user