This plugin for Discourse wraps
<abbr> HTML tags around a curated list of well known acronyms and abbreviations in posts, improving UX and SEO.
See it in action and test it out for yourself on our Crit Cola’s Discourse.
Add the plugin’s repository URL to your container’s
app.yml file, for example:
hooks: after_code: - exec: cd: $home/plugins cmd: - mkdir -p plugins - git clone https://github.com/critcola/discourse-post-abbreviations.git
Rebuild the container:
cd /var/discourse ./launcher rebuild app
For the plugin to apply retroactively, you’ll need to rebake old posts:
cd /var/discourse ./launcher enter app rake posts:rebake
The Discourse Post Abbreviations plugin is released under the MIT License.