Skip to content

Documents providing information on SVG 2, and tools to simplify writing them.

License

Notifications You must be signed in to change notification settings

longsonr/svg2-info

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svg2-info

Documents providing information on SVG 2, and tools to simplify writing them.

Currently this repository includes the source for:

SVG2 feature support

This page reads data from the JSON file 'svg2-new-features-processed.json' and displays a table outlining the current state of SVG 2 support in user agents. 'svg2-new-features-processed.json' must not be edited directly. Instead edit 'svg2-new-features.json' and generate' 'svg2-new-features-processed.json' using:
node link_to_svg_defs.js <path_to_definitions.xml> svg2-new-features.json > svg2-new-features-processed.json

Where <path_to_definitions.xml> points to the definitions.xml file in the master directory of the SVG 2 spec repository.

SVG2 new features

The source for the wiki page on the svgwg repository. The process for updating the page is:

  • Edit the markdown from this repository
  • Run link_to_svg_defs.js to create a version that links terms to the SVG spec
  • Paste result into wiki
  • Submit PR to this repository with your changes to the source markdown files

link_to_svg_defs.js

The source documents in this repository do not include links, but refer to elements, properties, and terms defined in SVG 2, which can be linked automatically using this script. To reference a possible term, surround the term in single quotes (e.g. 'rect').

To replace terms with links, try:
node link_to_svg_defs.js
This will print out usage instructions.

Requires:

About

Documents providing information on SVG 2, and tools to simplify writing them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.0%
  • HTML 20.2%
  • CSS 16.8%