Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yoksel/url-encoder
🛸 Url-encoder, useful for SVG
https://github.com/yoksel/url-encoder
svg url-encoder
Last synced: 5 days ago
JSON representation
🛸 Url-encoder, useful for SVG
- Host: GitHub
- URL: https://github.com/yoksel/url-encoder
- Owner: yoksel
- Created: 2014-04-04T12:30:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-08-18T13:51:31.000Z (about 1 year ago)
- Last Synced: 2024-05-22T21:32:15.241Z (5 months ago)
- Topics: svg, url-encoder
- Language: JavaScript
- Homepage: http://yoksel.github.io/url-encoder
- Size: 330 KB
- Stars: 1,182
- Watchers: 12
- Forks: 182
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - yoksel/url-encoder - 🛸 Url-encoder, useful for SVG (JavaScript)
README
# Url encoder for SVG
http://yoksel.github.io/url-encoder
## Usage
1. Take `svg`.
2. Encode it with [url-encoder](http://yoksel.github.io/url-encoder/).
3. Use code as `background-image` or `border-image` or `mask`.
4. Enjoy!Demo: https://codepen.io/yoksel/full/WNrLpYW.
## How to add translate
1. Create translation file (use `src/translate/en.json` as example) and place it to `src/translate/`
2. Add new language to section `langs` in all translation files
3. Add item with your language to section `translates` in `gulpfile.js`.
4. Run `npm start` in console (wait until project will be opened in browser) and check all pages:
* Link to new page must appear in all pages
* In the page with new translate new language in list must looks like current (bold and black)
5. Send pull request