# Using template hbs to add HTML content to a plugin outlet

**URL:** https://meta.discourse.org/t/using-template-hbs-to-add-html-content-to-a-plugin-outlet/371373
**Category:** Development
**Created:** [June 23, 2025, 5:50pm UTC](https://meta.discourse.org/t/using-template-hbs-to-add-html-content-to-a-plugin-outlet/371373 "2025-06-23T17:50:16Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [June 23, 2025, 5:54pm UTC](https://meta.discourse.org/t/using-template-hbs-to-add-html-content-to-a-plugin-outlet/371373/2 "2025-06-23T17:54:34Z")

</div>

This has [very recently changed](https://meta.discourse.org/t/modernizing-inline-script-tags-for-templates-js-api/366482) and now you should really do this in javascript, which conveniently now has its own tab.

I would start here:

> [@Theme Developer Tutorial: 4. Using Outlets to insert and replace content](https://meta.discourse.org/t/theme-developer-tutorial-4-using-outlets-to-insert-and-replace-content/357799):
>
> Discourse uses the [Ember JS Framework](https://emberjs.com/) for its user interface. On top of Ember, Discourse provides a number of APIs to allow themes to customize the user interface. The most commonly-used API is Plugin Outlets. These outlets are positioned throughout Discourse core, and allow themes to render Ember Components inside them. Those components are given access to some contextual information called “outlet args”. Some outlets also “wrap” part of the core user interface, which allows themes to add the…

---

_[View the full topic](https://meta.discourse.org/t/using-template-hbs-to-add-html-content-to-a-plugin-outlet/371373)._
