|
index > juli formatting > wikipedia(macro)
wikipedia - interwiki link to Wikipedia word
\{wikipedia word}
Juli 'wikipedia' macro generates link the word to Wikipedia's word.
Example
I haven't try \{wikipedia Pitaya} yet. I'll do!
will be:
I haven't try Pitaya yet. I'll do!
The HTML template for wikipedia macro can be defined at .juli/config file's "wikipedia" entry like this:
wikipedia: '<a href="http://ja.wikipedia.org/wiki/%{wikipedia}">%{wikipedia}</a>'
Where, %{wikipedia} above will be replaced to the actual word in the macro calling.
index > juli formatting > wikipedia(macro)