Hyperlinks with Unicode in ReST
I noticed the following “challenge” on Twitter last night:
Challenge: Figure out how to create a hyperlink for the text “Acme™” without using the literal character “™” in ReST. Prize for the winner.
In the oft-repeated words of Barney Stinson, challenge accepted:
|Acme(TM)|_
.. |Acme(TM)| unicode:: Acme U+2122
.. _Acme(TM): http://example.com
Visit the Gist to see the rendered output.