Displaying piece of code in yola webpage?

  • 1
  • Question
  • Updated 6 years ago
  • Answered
How do I display a piece of code on my website? If possible, the code would be highlighted in python or C++ syntax. Ive used
 and etc... in the html section of my yola page, but would really like it if the code gets highlighted to its appropriate programming language.
Photo of jeremy.yeokhoo


  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Gop


  • 7473 Posts
  • 2115 Reply Likes
Hello jeremy,

You may like to investigate the <textarea> tag. You could use a specific transparent colour panels to highlight these code snippets as you wish.