# Overwatch Hero Icons

**URL:** <https://meta.discourse.org/t/overwatch-hero-icons/51365>\
**Category:** Plugin\
**Created:** [Outubro 10, 2016, 11:26pm UTC](https://meta.discourse.org/t/overwatch-hero-icons/51365 "2016-10-10T23:26:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![DanielMarquard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danielmarquard/32/74010_2.png) [@DanielMarquard](https://meta.discourse.org/u/DanielMarquard)\
**Post date:** [Outubro 10, 2016, 11:26pm UTC](https://meta.discourse.org/t/overwatch-hero-icons/51365/1 "2016-10-10T23:26:10Z")

</div>

This plugin for Discourse formats Overwatch hero names in posts. It tries to intelligently match hero names in users’ posts, including those that are _horribly_ misspelled, correcting their spelling, adding accent marks and other special characters where necessary, and prepending the hero’s icon to their name.

I’ve released it under the MIT License on [GitHub](https://github.com/critcola/discourse-overwatch-hero-icons).

## Demo

See it in action and test it out for yourself on [Crit Cola’s Discourse](https://critcola.com/community/t/new-overwatch-hero-emoji-icons/153?utm_source=meta.discourse.org&utm_medium=plugin-topic&utm_term=demo-text&utm_content=overwatch-hero-icons&utm_campaign=development).

[![](https://global.discourse-cdn.com/meta/original/3X/2/7/27e30408361ee3a6eab190760e23c3bdb8793939.PNG)](https://critcola.com/community/t/new-overwatch-hero-emoji-icons/153?utm_source=meta.discourse.org&utm_medium=plugin-topic&utm_term=demo-screenshot&utm_content=overwatch-hero-icons&utm_campaign=development)

## Installation

Add the plugin’s repository URL to your container’s `app.yml` file, for example:

```yml
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/critcola/discourse-overwatch-hero-icons.git

```

Rebuild the container:

```plaintext
cd /var/discourse
./launcher rebuild app

```

For the plugin to apply retroactively, you’ll need to rebake old posts:

```plaintext
cd /var/discourse
./launcher enter app
rake posts:rebake

```

---

_[View the full topic](https://meta.discourse.org/t/overwatch-hero-icons/51365)._
