Skip to main content
Closed for Voting

More flexibility with code snippets in Solutions

Related products:Freshdesk
  • October 11, 2016
  • 1 reply
  • 10 views

Two things that are sub-optimal in Solutions, when using code snippets:

  1. you cannot add your own colour-code, so if, for example, you want to highlight one line in a code snippet, you are unable to do so
  2. word-wrapping: when displaying some code, it's vital that the line does not wrap, so that the customer isn't confused into thinking the code is on two lines. Outside of Freshdesk, we would just use the <pre></pre> tags to get what we want, but the Freshdesk editor "corrects" the use of the pre-formatting tag, and replaces it with one of the code options.

1 reply

aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+12

Hello,


The solution article editor now allows you to add your own color code to highlight a specific section of the article. The addition of <pre>tags however, defaults to one of the code highlighting options.



Cheers!