feat: add gist shortcode

This commit is contained in:
ZhenShuo Leo
2025-05-26 13:05:52 +08:00
parent 1d21656d5e
commit eb0d04a014
5 changed files with 113 additions and 0 deletions

View File

@@ -0,0 +1 @@
<script src="https://gist.github.com/{{ index .Params 0 }}/{{ index .Params 1 }}.js{{if len .Params | eq 3 }}?file={{ index .Params 2 }}{{end}}"></script>