15

It's possible to create links to tag wikis using the syntax [tag:graphics] in a question or answer.

Is it possible to extend this mechanism, say to have something like [docs:Plot] turn into Plot?

| |
  • 1
    Very good question. – Mr.Wizard Feb 19 '12 at 3:56
  • Related request on MSO: meta.stackexchange.com/questions/117372/… – Adam Lear Feb 19 '12 at 4:38
  • @AnnaLear The difference here is that since we have a single system, it's very easy to figure out how to get from a documentation "URL" to a web URL. What Brett didn't spell out is that the documentation centre of Mathematica has its own "URL" format. For Plot it is ref/Plot. To make this into a web URL, all one needs is to surround it with http://reference.wolfram.com/mathematica/ ref/Plot .html. – Szabolcs Feb 19 '12 at 10:29
  • 4
    @AnnaLear For built-in functions the address is always of the for ref/FunctionName, and there are no addresses without a / in them, so when the system sees docs:FunctionName, it would be clear that it needs to be changed to ref/FunctionName. I too have been wishing for an easier way to get doc URLs myself, it's always a pain to go through the same copy doc url procedure again and again – Szabolcs Feb 19 '12 at 10:31
  • Actually I was wrong, sometimes the address is a single word yet it's not a function (e.g. JLink) – Szabolcs Feb 19 '12 at 20:04
5

Update

Please see

Additional useful buttons for our M.SE editor


A first step would be to use and adjust this here: Editor buttons for injecting documentation links.

I would hack it, but I cannot get running under Chrome. Anyway, it looks promising to at least simplify for now

image

| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .