# Minor RFE: "hashtag" tag style

**URL:** https://meta.discourse.org/t/minor-rfe-hashtag-tag-style/213310
**Category:** Feature
**Created:** [December 28, 2021, 6:19pm UTC](https://meta.discourse.org/t/minor-rfe-hashtag-tag-style/213310 "2021-12-28T18:19:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 28, 2021, 6:19pm UTC](https://meta.discourse.org/t/minor-rfe-hashtag-tag-style/213310/1 "2021-12-28T18:19:19Z")

</div>

Right now, tags can be “simple”, “bullet”, or “box”. It’d be nice to have a mode where they’re displayed as `#tag` — after all, that’s how you can use them in post text (like, #tagging).

My current solution is:

```css
/* hash before tags :) */
.discourse-tag.simple::before {
  content: "#";
}

/* defaults to comma */
.discourse-tags .discourse-tag.simple:not(:last-child)::after, .list-tags .discourse-tag.simple:not(:last-child)::after, .search-category .discourse-tag.simple:not(:last-child)::after {
	content: " ";
	margin-left: 1px;
}

/* keep from tagging votes! */
.list-vote-count::before {
  content: "" !important;
}

/* hash before tags in header */
.tag-title-header span::before {
  content: "#";
}

```

… however, that

- doesn’t show in up in the filter dropdown — or rather, it does for every one but the selected tag, which offends my sense of Everything Must Be Perfectly Slick.
- Does not work with tag intersections with [Tag Banners](https://meta.discourse.org/t/discourse-tag-banners/124240), since the "& " is part of the actual text in that case. (So I get something like  
“ **#silverblue# & gaming** ”

Actually, in testing, I realized that the first post is true with the other tag decoration styles too — even though _category_ color boxes are shown. Now my sense is _doubly_ offended. 🙂

---

<div class="post-metadata">

### Author: ![craigconstantine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/craigconstantine/32/511195_2.png) [@craigconstantine](https://meta.discourse.org/u/craigconstantine)
#### Post date: [December 28, 2021, 6:34pm UTC](https://meta.discourse.org/t/minor-rfe-hashtag-tag-style/213310/2 "2021-12-28T18:34:55Z")

</div>

~~But, **#foo** is auto completed and auto marked up, as a category.~~

~~It would be neat to have some special char for tags – like `@` for users and groups, and `#` for categories …~~

hmm, I just learned something about tagging. 🤔

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 28, 2021, 6:37pm UTC](https://meta.discourse.org/t/minor-rfe-hashtag-tag-style/213310/3 "2021-12-28T18:37:19Z")

</div>

> [@craigconstantine](#):
>
> But, **#foo** is auto completed and auto marked up, as a category.

As it is right now, `#` refers to _both_ tags and categories. Try it! (Example: #tagging)

(I personally would prefer a different character for _categories_. I dunno, `%` or something.)
