Code coloring, which language - turning off


#1

I have noticed that sometimes when writing code, the code gets colored.

How does FoldingText determine the language to use for coloring, and how do I turn off the coloring entirely?


#2

Sorry can you give me an example of exactly what you are typing?

I think it colorizes in two cases:

  1. When you are typing in HTML content. For example:

     My <b>bold</b> tag.
    
  2. When you enter a github style codeblock, and specifiy the blocks language.

     ```javascript
     var i;
     ```
    

I don’t “think” it colors in other cases, but I’ve been wrong before! :smile: