Lesser Known Features of DEV — Using Comment Templates

Michael Tharrington - Jan 4 '23 - - Dev Community

Did you know that on DEV you have the ability to set up templates for comments that you can use in the comment section of posts?

If you find yourself dropping the same GIF over and over again or offering the same words of wisdom to folks, consider creating a template!

How to create a comment template

In order to create a template, you'll need to go to the extensions section of your settings located here.

Navigate down to "Add new comment template", type in the comment body content, give it a title, and save it. Note: you might consider typing out your comment in the discussion section of a post so you can take advantage of the Markdown toolbar; you can copy/paste it over afterward.

How to use a comment template

So, you've got your templates, but how to use them? Just follow theses steps:

  1. Go to the comments section of a post. (Perhaps the latest welcome thread)
  2. Click into the text box to reply to someone or leave a fresh comment.
  3. Click the three dots in the bottom right corner of the input box.
  4. Click the 4th icon from the left that looks a bit like a book.
  5. See your list of available templates and click insert on the one that you wish to have dropped into the input box.
  6. Feel free to modify it or send as is.

Boom! You've sent your first comment template. 🙌

Loom video tutorial

I filmed a 5 minute tutorial walking you through everything above — how to create and use a comment template!

Advice on how and how not to use this feature

This feature can be really handy for things like setting up a welcome message that you can drop in the welcome thread each week or making it so you can quickly grab a favorite GIF. It can also be useful if you find yourself regularly showing folks how to do different things on DEV like embedding YouTube videos or creating a table of contents.

That said, it could be annoying if misused. Please refrain from using templates to promote yourself or business in mass. In the right context it can make sense to mention a post you've created or the company you work for, but don't set up a template with the sole purpose of jumping into each post to promote X. We may suspend those folks who do this as it's against the content policy listed in our Terms; don't hesitate to report this kind of behavior to us if you see it.

That's all folks! 🥕

If anybody has any fun templates they've come up with that they wanna share, please drop'em in the comments.

Hope y'all keep enjoying DEV!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .