Skip to content

Instantly share code, notes, and snippets.

View macfire's full-sized avatar

MediaFuse macfire

View GitHub Profile
@macfire
macfire / create_svg_symbol_library.py
Last active June 29, 2017 14:05
Convert a folder of individual SVG icon files to a SVG symbol library embedded in HTML document. Includes a bullet list of the symbols.
# -*- coding: utf-8 -*-
"""
create_svg_symbol_library.py
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2016 by Jerry McCreary.
:license: MIT
Convert a folder of individual SVG icon files to a SVG symbol library
embedded in HTML document. Includes a bullet list of the symbols.