https://github.com/solidsnack/svg-triptych
View SVG documents and print to PDF
https://github.com/solidsnack/svg-triptych
Last synced: 11 months ago
JSON representation
View SVG documents and print to PDF
- Host: GitHub
- URL: https://github.com/solidsnack/svg-triptych
- Owner: solidsnack
- Created: 2022-07-04T19:14:07.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-05T01:27:08.000Z (almost 4 years ago)
- Last Synced: 2025-07-14T00:51:39.005Z (11 months ago)
- Language: JavaScript
- Size: 763 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SVG Triptych
View SVG source, SVG in-browser and SVG rendered to PDF, all together on one
page.
Live demo at: http://solidsnack.github.io/svg-triptych/
Only tested in Chrome. Please don't use in Safari -- at present, there is a bug that freezes the tab.
The PDF page size is set by the SVG width and height attributes, so be sure to
specify an appropriate `width`, `height` and `viewbox`.
## Example Documents
### 20cm Circle Centered on A4 Paper
```svg
```
### 20cm Circle Centered on Letter Paper
```svg
```
### 10cm Circle Centered on A5 Paper
```svg
```