Difference between revisions of "Template:Gist"
From Roll20 Wiki
Andreas J. (Talk | contribs) (template for linking to github gists) |
Andreas J. (Talk | contribs) m (fix img) |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="plainlinks" style="display:inline-block;">[https://gist.github.com/{{{1}}}]</div> | + | <includeonly><div class="plainlinks" style="display:inline-block;">[https://gist.github.com/{{{1}}}]</div> <sup>[[File:GitHubLogo.png|middle|10px]]</sup></includeonly><noinclude>[[Category:Navigation Templates]]{{documentation}}</noinclude> |
Revision as of 10:17, 26 September 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. |