16

The tag and meta-tag syntax generate much nicer looking results than merely surrounding your tag with [square brackets].

However, they only work when you're talking about the site you're on. On Area51, in Chat, and on Meta sites, this is frequently not the case, leading to attempts at syntax like [[tag:failure]](https://superuser.com/questions/tagged/failure), which produces:

[tag:failure]

Hmm, must be some subtle syntax thing:

  • tag:failure: [tag:failure](https://superuser.com/questions/tagged/failure)
  • [tag:failure]: [[tag:failure](https://superuser.com/questions/tagged/failure)]
  • : [tag:[failure]((https://superuser.com/questions/tagged/failure))]
  • [tag:failure]: <a href="https://superuser.com/questions/tagged/failure">[tag:failure]</a>
  • tag:failure: [tag:failure][1] \n\n [1]: https://superuser.com/questions/tagged/failure
  • more text is a [tag:failure] too: [more text is a [tag:failure] too](https://superuser.com/questions/tagged/failure)

I give up!

How can I create a link to a tag on another site with tag markdown?

5
  • 1
    Related: the original request that let us specify Meta versus not. This is also more of a feature-request than a bug report - otherwise, it's very much bydesign that it's not possible to use tag syntax to specify sites other than the main and meta.
    – Grace Note StaffMod
    May 26, 2011 at 19:18
  • @Grace Note - Would you like to comment on (or provide as an answer) your statement in the linked original request? You wrote: "I can see that being able to specify any SE site would be problematically annoying." I agree with the default behavior, but would like [[tag:name]](url) to override it. May 26, 2011 at 19:23
  • Also related: Character formatting leaks into tag links - To extend Jeff's logic, I said I want to hyperlink, and that's not what I got - therefore, this is a bug. May 26, 2011 at 19:27
  • 1
    I made that statement as the benefit vs. work ratio is quite skewed. Referring to tags on other sites is a very infrequent use-case, and must support a growing number of possible sites that become increasingly irrelevant to the starting site. Nevermind that it can probably be very clumsy to write. As such, it's problematic in comparison to sticking with what's familiar to that site, the far more prevalent use case. Altering the default behavior (which is what my proposal was) is a different beast from overriding the syntax as a whole with a markdown hyperlink.
    – Grace Note StaffMod
    May 26, 2011 at 19:45
  • @GraceNote is this feature-request scoped for the future? I think it would make much sense to have it, specially when in Meta talking about the tags in other sites. Jul 6, 2016 at 15:06

1 Answer 1

7

We should provide something like following:

  • [site-tag:tagname] or [site:tag:tagname] for another main site
  • [site-meta-tag:tagname] or [site:meta-tag:tagname] for another meta site.
1
  • This? [so:tag:java]? [gaming:meta-tag:status-completed] Dec 4, 2015 at 12:04

You must log in to answer this question.

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