# Insertable, centrally maintained text/markdown snippets

**URL:** <https://meta.discourse.org/t/insertable-centrally-maintained-text-markdown-snippets/97246>\
**Category:** Developers\
**Tags:** reference\
**Created:** [September 15, 2018, 7:17am UTC](https://meta.discourse.org/t/insertable-centrally-maintained-text-markdown-snippets/97246 "2018-09-15T07:17:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Post date:** [July 11, 2019, 2:40pm UTC](https://meta.discourse.org/t/insertable-centrally-maintained-text-markdown-snippets/97246/4 "2019-07-11T14:40:51Z")

</div>

Hi @merefield - funnily enough I was looking for similar functionality - inserting a standard snippet of text - but rather than a button I wanted a **trigger string** that would expand out to a piece of markdown. (OK, I suppose alternatively I could modify the button to a dropdown with a few options)

This is probably not a core Discourse feature but a plugin.

### Ideal behaviour:

- I type `:stub:` (I don’t mind about using something instead of the delimiting `:` characters, but wondered if hooking into the emoji interface might work since that has the kind of ‘completion’ type behaviour that I’d like)

- Discourse replaces `:stub:` with

- which is rendered as

- and there should be somewhere in the UI to configure these snippets, a bit like the Custom Emoji interface

---

_[View the full topic](https://meta.discourse.org/t/insertable-centrally-maintained-text-markdown-snippets/97246)._
