2018-08-30 19:57:56 +02:00

31 lines
469 B
ReStructuredText

Gist
----
Github gist wiki macro for Redmine.
.. function:: {{gist(gist)}}
show Github gist
:param string gist: gist to display. With or without Github username.
Scope
+++++
This macro works in all text fields with formatting support.
Examples
++++++++
show Github gist ``6737338`` (without user name)
.. code-block:: smarty
{{gist(6737338)}}
Show Github gist ``plentz/6737338`` (with user name)
.. code-block:: smarty
{{gist(plentz/6737338)}}