8

My bug report showed the need of a markdown that can be used in posts to show a badge, just like a tag markup ([tag:foo]).

While I agree that the posts on SO won't have too much of a benefit from it, on Meta, this would be kind of useful. On the top of that, pages inside the Help section work like posts - just like questions and answers -, and they would benefit from this addition.

6
  • 1
    This is the first genuine use-case of this I've seen since registering. Changing this would've made the bug report unclear, after the fix, though...
    – Cerbrus
    Commented Sep 11, 2017 at 15:00
  • 3
    See Add badges to Markdown?
    – animuson StaffMod
    Commented Sep 11, 2017 at 15:04
  • @Cerbrus it would also be useful for Meta posts, where we currently need to manually link to a badge. The [tag:foo] feature is also only useful on Meta.
    – user247702
    Commented Sep 11, 2017 at 15:05
  • I actually link to tags on SO as well.
    – Cerbrus
    Commented Sep 11, 2017 at 15:06
  • 1
    @Cerbrus In what context?
    – ㅤㅤㅤ
    Commented Sep 11, 2017 at 15:22
  • 1
    References to tags make sense on the main site in only one context: when you want to provide an entry-point to the tag wiki. Some tag wikis are of exceptional quality, and contain lots of great reference information.
    – Cody Gray Mod
    Commented Sep 12, 2017 at 9:52

1 Answer 1

2

While waiting for the feature to get implemented, you can use this trick to display the badge:

  • Take a screenshot of the element in the browser:

enter image description here

  • Upload the image by dragging it to the editor.

  • Use this syntax to display the badge as an image:

[![reactjs gold badge](https://i.sstatic.net/mt3hO.png)](https://stackoverflow.com/help/badges/5357/reactjs)

Here is the example result:

reactjs gold badge - Earn at least 1000 total score for at least 200 non-community wiki answers in the tag. These users can single-handedly mark questions as duplicates and reopen them as needed.

1
  • 3
    This does "work", but it looks really bad. I would not recommend doing this. And I can't imagine a valid use-case, outside of perhaps discussing tag badges themselves on Meta sites.
    – Cody Gray Mod
    Commented Nov 18, 2021 at 13:36

You must log in to answer this question.

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