additionals/docs/macros/twitter.rst

38 lines
524 B
ReStructuredText
Raw Normal View History

2016-04-24 11:15:05 +03:00
Twitter
-------
Twitter wiki macro for Redmine.
2016-04-24 11:55:03 +03:00
.. function:: {{twitter(profile)}}
show link to Twitter profile
:param string profile: Twitter profile name with @. E.g. alphanodes
Scope
+++++
2018-08-30 20:57:56 +03:00
This macro works in all text fields with formatting support.
2016-04-24 11:55:03 +03:00
Examples
++++++++
2016-04-24 13:59:34 +03:00
Show link to twitter profile ``@alphanodes``
2016-04-24 11:55:03 +03:00
.. code-block:: smarty
{{twitter(alphanodes)}}
or
.. code-block:: smarty
{{twitter(@alphanodes)}}
Show link to hashtag ``#redmine``
.. code-block:: smarty
{{twitter(#redmine)}}