Skip to content
Snippets Groups Projects
Commit 458d1e0d authored by Guy Tepper's avatar Guy Tepper
Browse files

[BUGFIX] more readme fixes

parent b2a1d480
No related branches found
No related tags found
1 merge request!1Readme fixes
# gulp-inline-svg # gulp-inline-svg
> inline-svg plugin for [gulp](https://github.com/wearefractal/gulp) > inline-svg plugin for [gulp](https://github.com/wearefractal/gulp)
This plugin takes a couple of SVG files and provides them inside a Sass mixin as inlined background-images. By doing so, you can use them without having to touch you Markup. This plugin takes a couple of SVG files and provides them inside a Sass mixin as inlined background-images. By doing so, you can use them without having to touch your markup.
## Compatibility ## Compatibility
The inlined SVG gets URL encoded, so it is save to use starting with IE9. The inlined SVG gets URL encoded, so it is save to use starting with IE9.
...@@ -11,7 +11,7 @@ The generated mixin contains width and height values for each SVG. Those values ...@@ -11,7 +11,7 @@ The generated mixin contains width and height values for each SVG. Those values
## Usage ## Usage
First, install `gulp-inline-svg as a development dependency: First, install `gulp-inline-svg` as a development dependency:
```shell ```shell
npm install --save-dev gulp-inline-svg npm install --save-dev gulp-inline-svg
...@@ -28,7 +28,7 @@ gulp.task('inline-svg', function() { ...@@ -28,7 +28,7 @@ gulp.task('inline-svg', function() {
.pipe(svgMin()) .pipe(svgMin())
.pipe(inlineSvg()) .pipe(inlineSvg())
.pipe(gulp.dest("sass")); .pipe(gulp.dest("sass"));
}) });
``` ```
This will create a _svg.scss file inside your 'sass' folder. This will create a _svg.scss file inside your 'sass' folder.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment