Syntax highlighting for Go code blocks only works when the block starts with "golang" not "go" or "Go", is there a way to change this? #3323
                  
                    
                      asherqnovick
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 2 replies
-
| 
         You're talking about Markdown code fences? You will want to edit this line:  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
The syntax highlighting works fine, it's just that it only works for a Go code block if the block starts with "golang" which isn't really how anyone marks Go code blocks, the standard seems to be just "go." Is there something I can do on my end to make the syntax highlighting detect a block starting this way?
Beta Was this translation helpful? Give feedback.
All reactions