Sign in
Log inSign up

New tags (center, color, and highlight) for the editor

Pankaj's photo
Pankaj
·Jun 15, 2021·

1 min read

It would be great to have the tags for centering the elements and putting some colored texts.

For centering an element, we must be able to use the following tag:

[center][/center]

For highlighting a particular text with some color, we must be able to do the following:

[highlight color="#25c2a0"]my text here[/highlight]

OR

[text background="#25c2a0"]my text here[/text]

We should also be able to change the color of the text like this:

[text color="#25c2a0"]my text here[/text]

Last but not least, we should have these examples in the "Guide" of the editor along with the new tags like <sup> that were introduced a few months back.

I think these new tags would make the editor more powerful and give us some new possibilities.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2025 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct