opengist/docs/usage/embed.md

12 lines
319 B
Markdown
Raw Normal View History

2024-01-04 15:45:57 +00:00
# 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>
```