title: Scintilla Editor Multiple Syntax Highlighting
body: <p>I'm using scintilla Editor for syntax highlighting for a MarkDown Editor.</p>
  
  <pre><code>        scintilla.Styles[Style.Markdown.Default].ForeColor = Color.Blue;
          scintilla.Styles[Style.Html.Comment].ForeColor = Color.Gray;
          scintilla.Styles[Style.Markdown.Header1].ForeColor = Color.Green;
          scintilla.Styles[Style.Markdown.Header2].ForeColor = Color.Green;
          scintilla.Styles[Style.Markdown.Header3].ForeColor = Color.Green;
          scintilla.Styles[Style.Markdown.Header4].ForeColor = Color.Green;
          scintilla.Styles[Style.Markdown.Header6].ForeColor = Color.Green;
          scintilla.Styles[Style.Markdown.HRule].ForeColor = Color.Purple;
          scintilla.Styles[Style.Markdown.Header5].ForeColor = Color.Green;
  
          scintilla.Lexer = Lexer.Markdown;
  </code></pre>
  
  <p>Apparently, it doesn't support Markdown.Comment, which I want to be gray. In the comment I may even want to have CSS or Xml Code. Anyways, I want to use two types of highlighting. One is for the Markdown as it is and another is for the comments or inside the comments. </p>
  
  <p>I didn't find any source indicating multiple syntax highlighting. However there are documents for <a href="https://github.com/jacobslusser/ScintillaNET/wiki/Custom-Syntax-Highlighting" rel="nofollow noreferrer">custom syntax highlighting</a>. Do I need a custom one, or can I use a combination of settings to achieve my goal? </p>