├── .gitattributes ├── .editorconfig ├── readme.md ├── explanation.md └── header.svg /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | end_of_line = lf 6 | charset = utf-8 7 | trim_trailing_whitespace = true 8 | insert_final_newline = true 9 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | 6 |
7 |
8 | -------------------------------------------------------------------------------- /explanation.md: -------------------------------------------------------------------------------- 1 | # Explanation 2 | 3 | You can put HTML (actually XHTML) and CSS inside a [`` tag](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject) inside a SVG file inside an `` tag inside your readme. 🤯 4 | 5 | Thanks to [@Richienb](https://github.com/Richienb) for sharing the trick in [this pull request](https://github.com/sindresorhus/sindresorhus/pull/9). 6 | -------------------------------------------------------------------------------- /header.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 84 |
85 |

Made with HTML & CSS
not an animated GIF

86 |

Click to see the source

87 |
88 |
89 |
90 |
91 | --------------------------------------------------------------------------------