ganler opened a new pull request, #12240:
URL: https://github.com/apache/tvm/pull/12240

   Previously we use ANSI color sequences to highlight TVM script. In jupyter 
notebook environments, such color sequence will be recoginized and translated 
to corresponding HTML to display things. 
   
   This works fine for most notebook environments (including the jupyter 
notebook and the VS Code plugin). Recently, we found that colab does not well 
support ansi color sequence for 24-bit colors (`JupyterLight` and `VSCDark`) 
thanks to @tqchen. To also bring highlighting in Colab, in this PR, we directly 
render the highlighted code with HTML when a notebook environment is detected.
   
   cc: @tqchen @Hzfengsy   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to