HTML code view/editing in Service Hub Knowledge Base articles

Allow users to edit the HTML code of the article, in order to add custom formatting, tables anchor links, code snippets etc.


Zendesk and Freshdesk have this feature...


PS - There is a code icon in the editing toolbar, but it's for inserting links not code! Guess the icon is wrong.

19 Replies
Occasional Contributor

I agree. This would help us out a lot. The current text editor of Knowledge Base is really limiting. 

New Contributor

The lack of opportunity to integrate iframes prevents us from replacing zendesk.

New Contributor

It would be great to include a "no index, no follow" search box command. 

We dont want our knowledge base articles indexed by search engines.

New Contributor

Yes, even the ability to just drop <pre> tags into the thing would be a start. As it is, I can't see any good way to put multi-line code snippets into an article, and "just make an image showing the text you want displayed for now" (the response my ticket received) is pretty bad.

Occasional Contributor

It's good to know I'm not the only one finding the Knowledge Base article editor extremely limiting. 

The ability to add HTML and additional formatting would be great. Unfortunately right now only videos from YouTube, Vimeo and Instagram can be added. We use a different video hosting service and unfortunately cannot include our video content.

New Member

This gets my vote too.  We'd like to be able to use highlightjs for code syntax highlighting (as we do on our blog).  At present we're at loggerheads with the Knowledgebase articles. The only way around it is to introduce a poor user experience to our customers by uploading images of code instead of copy/pasteable snippets. 


A basic oversight when HubSpot knowledge relies heavily on code snippets for HubL , json etc 


Please get this added ASAP!



Occasional Contributor

I'm in on this. Consideirng how much more we pay for ServiceHub over Zendesk, and are missing such basic capabilities such as:

  • Adjusting fonts to match company branding
  • Display more that 2 articles in the main KB landing page per category
  • Prevent search engines from indexing content
  • Allow for a code snippet view

Ideally, if this worked in conjunction with the themes we already use in the Design Tool would be ideal.

Occasional Contributor

My company has decided to transfer our KB over from Zendesk to HubSpot. I am shocked at how basic and limited the kb editor is without any way of adding style to the KB. I find that most cases I spend more time making an article visually appealing more than adding the contents, simply because if it does not look good people will not read it. It is even more annoying that there is an HTML editor on this forum and not on the KB.

Occasional Contributor

It's so basic. We need it!

New Contributor

+10, without it I can't replace my current solution

Regular Contributor

This is really a must have, too bad it isnt implemented yet.

New Contributor

Doing this would also allow us to add tables (a feature we've been missing ever since switching from Zendesk), as well as embed non-standard videos through the <video> tag, or JavaScript embeds.

HubSpot Product Team
HubSpot Product Team

Thank you for all your comments about the knowledge base editing.

In recent weeks we rolled out a new version of the article editor. You can see all of details here. More updates will be rolled out to this editing experience soon and will include Tables and Anchor links.


As well as improving the article editing experience, we will be also rolling out a new feature very soon which will allow you to have more control over the design and layout of your knowledge base. This feature will allow you to:
- Choose from a number of different layout options

- Select the articles you would like to appear on the homepage

- Select fonts that should be used in your knowledge base

- And much more

If you are interested in receiving early access to this feature, please DM me with your Hub Id and email address.

New Contributor

Agreed. I really need to use anchor links in my service hub content and I guess it isn't available yet?

New Contributor

This would be really helpful!

New Contributor

I can reply to this idea using HTML, but I can't put HTML into my knowledge base article... that's...perplexing...

HubSpot Product Team
HubSpot Product Team
updated to: Being Reviewed

We are currently reviewing bringing HTML editing to the Knowledge Base and will provide more information on the status of this as soon as it's available.


Please make sure to enable the option to add code to the <head>

I need to add this into my help articles

<meta name="robots" content="noindex">