# Better editor placeholder text

**URL:** https://discourse.julialang.org/t/better-editor-placeholder-text/62750
**Category:** Meta Discussion
**Created:** [November 9, 2020, 12:43am UTC](https://discourse.julialang.org/t/better-editor-placeholder-text/62750 "2020-11-09T00:43:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)
#### Post date: [November 9, 2020, 12:43am UTC](https://discourse.julialang.org/t/better-editor-placeholder-text/62750/1 "2020-11-09T00:43:19Z")

</div>

In the Rstudio discourse, when I try to write a new post it shows this helpful snipper. Perhaps we just need to set this up

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/e/fe835820aa633649abc7759f59cbf3c241c6020d.png)

---

<div class="post-metadata">

### Author: ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)
#### Post date: [June 11, 2021, 4:33pm UTC](https://discourse.julialang.org/t/better-editor-placeholder-text/62750/2 "2021-06-11T16:33:01Z")

</div>

> [@xiaodai](#):
>
> this helpful snipper

Oh man, apparently I liked this idea a long time ago, but never went about figuring out how to do it. Seeing it again inspired me to fiddle with our placeholder a bit (your cache may need to be purged to see the changes), but I couldn’t figure out how they did newlines (yet). So here’s what I just changed it to for now:

> Type here. Use the button bar or Markdown for formatting; `backticks` are handy for inline code or use ``` around larger code blocks.

I figured we don’t need to tell folks about BBCode or HTML and code formatting is far more important than images.

---

<div class="post-metadata">

### Author: ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)
#### Post date: [June 11, 2021, 4:37pm UTC](https://discourse.julialang.org/t/better-editor-placeholder-text/62750/3 "2021-06-11T16:37:31Z")

</div>

So I looked into customizing this more — and it seems the builtin discourse customizations available to me are indeed limited to a single line: [New lines in the composer's reply placeholder? - feature - Discourse Meta](https://meta.discourse.org/t/new-lines-in-the-composers-reply-placeholder/193451)

Now, that said, as pointed to me in the above thread, we could provide topic templates. This would act like GitHub issue templates — it’d just be prepopulated text in the compose window (instead of a shadowed placeholder). Or we could do some theme hacking and try to get a placeholder like the R one above.

One of the nice things about topic templates is that they just appear on creating a new topic — and they can be customized based on the selected category.

---

<div class="post-metadata">

### Author: ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)
#### Post date: [June 22, 2021, 2:55am UTC](https://discourse.julialang.org/t/better-editor-placeholder-text/62750/4 "2021-06-22T02:55:04Z")

</div>

Could I nominate the #domain:ml category as a guinea pig for these topic templates? It’s almost exclusively Q&A help, and I find a lot of new posters aren’t caught by [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). IMO having a link to the PSA topic pre-populated in the editor (i.e. one that needs to be manually deleted) would improve the overall quality of topics.
