Nuevo plugin Additionals 2.0.20
This commit is contained in:
parent
a2a901b71b
commit
93e1e28683
354 changed files with 40514 additions and 0 deletions
30
plugins/additionals/docs/macros/gist.rst
Executable file
30
plugins/additionals/docs/macros/gist.rst
Executable file
|
@ -0,0 +1,30 @@
|
|||
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)}}
|
Loading…
Add table
Add a link
Reference in a new issue