Highlighting code in bitbucket markdown Code Blocks

brunjy October 17, 2017

Bitbucket version: 4.10

Hi

I've got some microsoft t-sql that i'm trying to get highlighted in my markdown files. 

It highlights, but doesnt highlight as expected using the "sql" after the triple backtick

I see that Bitbucket uses CodeMirror

I also see that CodeMirror specifies MIME types for all the flavours of SQL e.g. text/x-sql, text/x-mysql, text/x-mariadb, text/x-cassandra, text/x-plsql, text/x-mssql, text/x-hive, text/x-pgsql, text/x-gql, text/x-gpsql. text/x-esper.

 

How do i specify the text/x-mssql MIME type to be used within a Markdown file? 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events