Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/404.html b/404.html index d3a5695..ebaf261 100644 --- a/404.html +++ b/404.html @@ -3,9 +3,9 @@
-We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
px
, as this is the default if not specified.",default:!0},convertToPx:{description:"If to convert absolute units like cm
and in
to px
.",default:!0}}}},c="Cleanup List of Values",a={id:"plugins/cleanupListOfValues",title:"cleanupListOfValues",description:"Rounds numeric values in attributes, such as those found in viewBox, enable-background, and points.",source:"@site/.svgo/docs/03-plugins/cleanupListOfValues.mdx",sourceDirName:"03-plugins",slug:"/plugins/cleanupListOfValues",permalink:"/docs/plugins/cleanupListOfValues",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/cleanupListOfValues.mdx",tags:[],version:"current",frontMatter:{title:"cleanupListOfValues",svgo:{pluginId:"cleanupListOfValues",parameters:{floatPrecision:{description:"Number of decimal places to round to, using conventional rounding rules.",default:3},leadingZero:{description:"If to trim leading zeros.",default:!0},defaultPx:{description:"If to remove the units when it's px
, as this is the default if not specified.",default:!0},convertToPx:{description:"If to convert absolute units like cm
and in
to px
.",default:!0}}}},sidebar:"docsSidebar",previous:{title:"cleanupIds",permalink:"/docs/plugins/cleanupIds"},next:{title:"cleanupNumericValues",permalink:"/docs/plugins/cleanupNumericValues"}},l={},u=[];function d(e){const t={a:"a",code:"code",h1:"h1",p:"p",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"cleanup-list-of-values",children:"Cleanup List of Values"}),"\n",(0,o.jsxs)(t.p,{children:["Rounds numeric values in attributes, such as those found in ",(0,o.jsx)(t.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Attribute/viewBox",children:(0,o.jsx)(t.code,{children:"viewBox"})}),", ",(0,o.jsx)(t.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Attribute/enable-background",children:(0,o.jsx)(t.code,{children:"enable-background"})}),", and ",(0,o.jsx)(t.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Attribute/points",children:(0,o.jsx)(t.code,{children:"points"})}),"."]})]})}function r(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>c});var o=n(7294);const s={},i=o.createContext(s);function c(e){const t=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),o.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/02610c8c.5ae46ce6.js b/assets/js/02610c8c.5ae46ce6.js
deleted file mode 100644
index b4d5cb4..0000000
--- a/assets/js/02610c8c.5ae46ce6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[436],{6847:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>u,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>l,toc:()=>m});var n=o(5893),s=o(1151);const i={title:"Move Element Attributes to Group",svgo:{pluginId:"moveElemsAttrsToGroup",defaultPlugin:!0}},r=void 0,l={id:"plugins/move-elems-attrs-to-group",title:"Move Element Attributes to Group",description:"Move an elements attributes to their enclosing group.",source:"@site/.svgo/docs/03-plugins/move-elems-attrs-to-group.mdx",sourceDirName:"03-plugins",slug:"/plugins/move-elems-attrs-to-group",permalink:"/docs/plugins/move-elems-attrs-to-group",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/move-elems-attrs-to-group.mdx",tags:[],version:"current",frontMatter:{title:"Move Element Attributes to Group",svgo:{pluginId:"moveElemsAttrsToGroup",defaultPlugin:!0}},sidebar:"docsSidebar",previous:{title:"Minify Styles",permalink:"/docs/plugins/minify-styles"},next:{title:"Move Group Attributes to Element",permalink:"/docs/plugins/move-group-attrs-to-elem"}},u={},m=[{value:"Usage",id:"usage",level:2},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function a(e){const t={a:"a",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components},{PluginDemo:o,PluginUsage:i}=t;return o||c("PluginDemo",!0),i||c("PluginUsage",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Move an elements attributes to their enclosing group."}),"\n",(0,n.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,n.jsx)(i,{}),"\n",(0,n.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,n.jsx)(o,{}),"\n",(0,n.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:(0,n.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/moveElemsAttrsToGroup.js",children:"https://github.com/svg/svgo/blob/main/plugins/moveElemsAttrsToGroup.js"})}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}function c(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,o)=>{o.d(t,{Z:()=>l,a:()=>r});var n=o(7294);const s={},i=n.createContext(s);function r(e){const t=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/0833c2e0.f9eb51e7.js b/assets/js/0833c2e0.f9eb51e7.js
deleted file mode 100644
index 2894e9b..0000000
--- a/assets/js/0833c2e0.f9eb51e7.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[5415],{5492:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>m,frontMatter:()=>n,metadata:()=>r,toc:()=>d});var o=s(5893),a=s(1151);const n={title:"Remove Editor Namespace Data",svgo:{pluginId:"removeEditorsNSData",defaultPlugin:!0,parameters:{additionalNamespaces:{description:"If you want to remove additional XML namespaces, you can provide them in a list.",default:[]}}}},i=void 0,r={id:"plugins/remove-editors-ns-data",title:"Remove Editor Namespace Data",description:"Removes all XML namespaces, elements, and attributes associated with popular vector editing software.",source:"@site/.svgo/docs/03-plugins/remove-editors-ns-data.mdx",sourceDirName:"03-plugins",slug:"/plugins/remove-editors-ns-data",permalink:"/docs/plugins/remove-editors-ns-data",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/remove-editors-ns-data.mdx",tags:[],version:"current",frontMatter:{title:"Remove Editor Namespace Data",svgo:{pluginId:"removeEditorsNSData",defaultPlugin:!0,parameters:{additionalNamespaces:{description:"If you want to remove additional XML namespaces, you can provide them in a list.",default:[]}}}},sidebar:"docsSidebar",previous:{title:"Remove Doctype",permalink:"/docs/plugins/remove-doctype"},next:{title:"Remove Elements by Attribute",permalink:"/docs/plugins/remove-elements-by-attr"}},l={},d=[{value:"Usage",id:"usage",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function c(e){const t={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",ul:"ul",...(0,a.a)(),...e.components},{PluginDemo:s,PluginParams:n,PluginUsage:i}=t;return s||u("PluginDemo",!0),n||u("PluginParams",!0),i||u("PluginUsage",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["Removes all XML ",(0,o.jsx)(t.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Namespaces_Crash_Course",children:"namespaces"}),", elements, and attributes associated with popular vector editing software."]}),"\n",(0,o.jsx)(t.p,{children:"This plugin is completely safe to use before redistributing your SVG or incorporating it into a larger document."}),"\n",(0,o.jsx)(t.p,{children:"The kinds of elements that are removed are usually editor specific workspace settings. You should keep a backup of your original SVG to preserve that meta-data and continue to maintain your SVG, while you serve the optimized version to users."}),"\n",(0,o.jsxs)(t.p,{children:["You can find a list of removed editor namespaces in ",(0,o.jsx)(t.a,{href:"https://github.com/search?q=repo%3Asvg%2Fsvgo+editorNamespaces&type=code",children:(0,o.jsx)(t.code,{children:"_collections.js"})}),", which includes software like ",(0,o.jsx)(t.a,{href:"https://inkscape.org/",children:"Inkscape"}),", Adobe Illustator, and Figma."]}),"\n",(0,o.jsx)(t.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(i,{}),"\n",(0,o.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsx)(n,{}),"\n",(0,o.jsx)(t.h2,{id:"demo",children:"Demo"}),"\n",(0,o.jsx)(s,{}),"\n",(0,o.jsx)(t.h2,{id:"implementation",children:"Implementation"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.a,{href:"https://github.com/svg/svgo/blob/main/plugins/removeEditorsNSData.js",children:"https://github.com/svg/svgo/blob/main/plugins/removeEditorsNSData.js"})}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}function u(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},1151:(e,t,s)=>{s.d(t,{Z:()=>r,a:()=>i});var o=s(7294);const a={},n=o.createContext(a);function i(e){const t=o.useContext(n);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),o.createElement(n.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/095a7c56.b0303fc3.js b/assets/js/095a7c56.b0303fc3.js
deleted file mode 100644
index 2a6878b..0000000
--- a/assets/js/095a7c56.b0303fc3.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunksvgo_dev=self.webpackChunksvgo_dev||[]).push([[5820],{484:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>r});var l=t(5893),s=t(1151);const o={title:"Cleanup Enable Background",svgo:{pluginId:"cleanupEnableBackground",defaultPlugin:!0}},i=void 0,a={id:"plugins/cleanup-enable-background",title:"Cleanup Enable Background",description:"Cleans up enable-background, unless the document uses `` elements.",source:"@site/.svgo/docs/03-plugins/cleanup-enable-background.mdx",sourceDirName:"03-plugins",slug:"/plugins/cleanup-enable-background",permalink:"/docs/plugins/cleanup-enable-background",draft:!1,unlisted:!1,editUrl:"https://github.com/svg/svgo/tree/main/docs/03-plugins/cleanup-enable-background.mdx",tags:[],version:"current",frontMatter:{title:"Cleanup Enable Background",svgo:{pluginId:"cleanupEnableBackground",defaultPlugin:!0}},sidebar:"docsSidebar",previous:{title:"Cleanup Attributes",permalink:"/docs/plugins/cleanup-attrs"},next:{title:"Cleanup IDs",permalink:"/docs/plugins/cleanup-ids"}},d={},r=[{value:"Usage",id:"usage",level:2},{value:"Demo",id:"demo",level:2},{value:"Implementation",id:"implementation",level:2}];function c(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,s.a)(),...e.components},{PluginDemo:t,PluginUsage:o}=n;return t||p("PluginDemo",!0),o||p("PluginUsage",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n.p,{children:["Cleans up ",(0,l.jsx)(n.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Attribute/enable-background",children:(0,l.jsx)(n.code,{children:"enable-background"})}),", unless the document uses ",(0,l.jsx)(n.a,{href:"https://developer.mozilla.org/docs/Web/SVG/Element/filter",children:(0,l.jsx)(n.code,{children:"