# Abréviations des posts Discourse

**URL:** <https://meta.discourse.org/t/discourse-post-abbreviations/55274>\
**Category:** Plugin\
**Tags:** deprecated\
**Created:** [Janvier 6, 2017, 10:21 UTC](https://meta.discourse.org/t/discourse-post-abbreviations/55274 "2017-01-06T10:21:20Z")\
**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:** [Janvier 6, 2017, 10:21 UTC](https://meta.discourse.org/t/discourse-post-abbreviations/55274/1 "2017-01-06T10:21:20Z")

</div>

# [Discourse Post Abbreviations](https://github.com/critcola/discourse-post-abbreviations)

This plugin for Discourse wraps `<abbr>` HTML tags around a curated list of well known acronyms and abbreviations in posts, improving UX and SEO.

## Demo

See it in action and test it out for yourself on our [Crit Cola’s Discourse](https://critcola.com/community/?utm_source=meta.discourse.org&utm_medium=plugin-topic&utm_term=demo&utm_content=discourse-post-abbreviations&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-post-abbreviations.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

```

## License

The Discourse Post Abbreviations plugin is released under the MIT License.

---

_[View the full topic](https://meta.discourse.org/t/discourse-post-abbreviations/55274)._
