https://github.com/cloudymax/markdown_templates
markdown + css in a svg
https://github.com/cloudymax/markdown_templates
Last synced: about 1 year ago
JSON representation
markdown + css in a svg
- Host: GitHub
- URL: https://github.com/cloudymax/markdown_templates
- Owner: cloudymax
- Created: 2021-08-10T13:58:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T08:35:29.000Z (over 3 years ago)
- Last Synced: 2025-03-29T10:36:34.135Z (about 1 year ago)
- Language: CSS
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# markdown to svg static webpage tool
converts a markdown readme file into a static webpage inside of a SVG.
allows you to use CSS and in-line html w/ markdown to make a full webpage.
Why? fun with github readmes, small file web pages, host a webpage from a blob storage bucket,
use an svg w/ css as a UI in unity engine.
WIP.
https://pragmaticpineapple.com/adding-custom-html-and-css-to-github-readme/
## flow
- original markdown file holds your notes/structure
- originla markdown gets converted to html
- css file makes the syle for the html
- Svg contains a foreign object with the style and html inside
- final readme.md contains the built svg
- svg can be served as a webpage
original_markdown.md -> original_markdown.html
final_readme {
svg {
foreignobject{
style.css,
readme.html
}
}
}