1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-27 07:02:06 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
Seth Falco
22533f1ffe chore: update prettier and eslint (#1885) 2023-12-15 13:10:21 +00:00
Jon Dufresne
aa470c7952 chore: apply prettier to all supported file types (#1870) 2023-12-15 12:30:44 +00:00
XhmikosR
74f8bd7af0 chore: fix typo (#1874) 2023-12-09 20:35:39 +00:00
Seth Falco
8390add9ab feat(removeUnknownAndDefaults): apply to xml declarations (#1872) 2023-12-07 11:56:14 +00:00
Jon Dufresne
d6ff70baf9 chore: fix several typos (#1868) 2023-12-03 18:02:22 +00:00
Seth Falco
a663d8d683 fix(cleanupEnableBackground): clean up inline styles too (#1866) 2023-12-02 12:26:21 +00:00
Seth Falco
e22d533be8 fix(removeHiddenElems): remove hidden definitions usage (#1852) 2023-11-26 20:55:35 +00:00
Seth Falco
ee0a0f5130 docs(removeXlink): add tip to run plugin last (#1840) 2023-11-18 18:19:25 +00:00
Seth Falco
bf5cf1fadd docs: add params section to remove xlink docs (#1839) 2023-11-18 17:46:29 +00:00
Bogdan Chadkin
9fca7be551 feat(removeXlink): new plugin to map xlink attrs to svg 2 2023-11-18 16:29:20 +00:00
Kendell R
14bdacc2df feat(convertPathData): replace with z and remove z when optimal (#1822) 2023-11-12 13:52:01 +00:00
Seth Falco
a9df915d1d fix: dont trim pre elements (#1796)
Includes pre in the array of text elements in _collections.js so that we don't trim whitespace on them, which effects rendering.
2023-11-12 11:56:39 +00:00
Seth Falco
4c2cc1bbdb feat(inlineStyles): remove redundant presentation attrs (#1829)
SVGs can have the same presentation attribute declared redundantly in
both the node attributes and `<style>` tag.

This wouldn't break anything, but we can shave off a few more bytes by
dropping the attribute in this case.
2023-11-11 12:43:13 +00:00
Seth Falco
43df633348 docs: add documentation for all commands (#1808) 2023-11-07 23:43:09 +00:00
Bogdan Chadkin
bbc6baca78 Plugin definitive guide (#1624)
This is just initial thoughts. Feel free to suggest any changes.

Here are described only the new visitor plugins api. Old "full", "perItem", "perItemReverse" will be removed in v3. Old JSAPI class on every node will be also removed so nodes could be plain objects.
2022-01-09 14:27:04 +03:00
Bogdan Chadkin
6cecd76f62 Remove config extending and full flag support 2021-02-15 13:12:29 +03:00
강석재
ece039ed8a Update ko.md 2018-03-08 18:37:18 +03:00
paroblow
162bb48184 Fix typo en.md 2018-03-08 18:37:18 +03:00
strarsis
2523799a12 Add inlineStyles plugin (rewrite of localStyles plugin) (#592)
Add inlineStyles plugin
2017-10-22 21:57:47 +03:00
David Leston
7f329bc74c Typo fixed: if yout plugin -> if your plugin 2017-07-12 14:01:24 -07:00
Jonathan Stoye
e776299890 updating the docs on the testing section 2016-10-10 10:49:13 +02:00
primeiros
e136a72b44 Create ko.md
Translate to Korean
2016-09-23 12:48:21 +09:00
Prayag Verma
b0d36a4830 Minor English tweak
Change sentence structure to make it more readable
2016-02-19 20:16:47 +05:30
GreLI
1bdee52393 Fixed config issues, better tests&docs. Closes #390 2015-09-21 14:23:55 +03:00
deepsweet
ef90db6a3a update docs 2013-04-12 15:03:43 +03:00
deepsweet
2fff31b188 docs/how-it-works/ru.md: fix anchors 2012-12-04 16:12:21 +02:00
deepsweet
d8cc1925a3 docs/how-it-works/ru.md 2012-12-04 16:08:43 +02:00
deepsweet
55afced798 ./docs/ 2012-11-22 19:06:10 +02:00