A Powerful SVG Language Support Extension. Almost all the features you need to handle SVG.
There have been multiple reports that the minimization feature may break your SVG, and we are still looking for a better library replacement for SVGO, so back up your SVG documentation when using the minimize feature.
SVG extensions have been available for 6 years.
Based on this version developed with the base code 4 years ago is already older and cannot use newer technologies.
I'm pausing the update for now, will wait until I have time for a third rewrite.
You can keep Issus, but there won't be a quick response.
We look forward to your continued support.
2023.4.15
Tip: All Completion list is context, will only show enable items.
Tip: Configure Trusted Domains add MDN to it get more fast action.
Cursor in Tag Name or Id Attribute or url(#id) Hit F2(Windows) Key, Rename it!
Hot Ctrl Key and Move mouse to a url(#id), That it!
Default formatting support is HTML Language Serivce for compatible with complex svg content
Open the Command Palette (⇧⌘P
on Mac and Ctrl+Shift+P
on Win/Linux) and run Minify SVG
. This will reduce the filesize significantly by removing all unnecessary code from the image.
- Laurent Tréguier for sharing SVG formatting features
- Björn Ganslandt for sharing Minify SVG features
- Amelia Bellamy-Royds for Add the xmlns and xmlns:xlink attributes
- Evan Demaris
- Trevor Burnham
- Philipp Kief
- rioj7
SVG Version 2.0 is not included.
- Fixed No Ascii text context in
<img>
mode show error.
- Fixed Preview external file reference support
- Fixed
tspan
,mask
lost attributes defineds.
- Fixed Preview now can show
<image href
local image.
- Fixed format not handle
<?xml ... ?>
newline.
- Dependent package security updates
- Public
svg.showSvg
command so user can add hotkey.
- Add
<style>
css color picker support.
支持我.
Enjoy!