title: How to use monaco editor for syntax highlighting?
body: <p>I developing a code based chat component. Every chat is some code snippet. For user input, I am using <a href="https://github.com/Microsoft/monaco-editor" rel="noreferrer">monaco-editor</a>. It works fine.</p>
  
  <p>But as soon as user hits send button, I get raw input from Monaco editor. I need to append this user input to chat list and again highlight this input.</p>
  
  <p>Is there a way I can use Monaco editor to do this? Or do I have to use <a href="https://highlightjs.org/" rel="noreferrer">highlight.js</a> along with Monaco?</p>