mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-23 04:52:40 +00:00
11 lines
319 B
Markdown
11 lines
319 B
Markdown
# 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>
|
|
```
|
|
|