Add some docs (#198)

This commit is contained in:
Thomas Miceli
2024-01-04 16:45:57 +01:00
parent 4215d7e43b
commit af19268d6f
8 changed files with 148 additions and 6 deletions

11
docs/usage/embed.md Normal file
View File

@ -0,0 +1,11 @@
# Embed a Gist to your webpage
To embed a Gist to your webpage, you can add a script tag with the URL of your gist followed by `.js` to your HTML page:
```html
<script src="http://opengist.url/user/gist-url.js"></script>
<!-- Dark mode: -->
<script src="http://opengist.url/user/gist-url.js?dark"></script>
```