Difference between revisions of "Template:Gist"
From Roll20 Wiki
Andreas J. (Talk | contribs) (template for linking to github gists) |
Andreas J. (Talk | contribs) (simplify template) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>[https://gist.github.com/{{{1}}}]</includeonly><noinclude>[[Category:External Link Templates]]{{documentation}}</noinclude> |
Latest revision as of 10:23, 23 October 2021
For linking to Github gists. remove the gist.github.com/
part from the url, and place the rest in the template.
Example
code snippet by GiGs
{{gist|G-G-G/52b96cff0b827c42f9d04ab411fb42e8 code snippet}} by GiGs
The above documentation is transcluded from Template:Gist/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |