You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/07/30 07:25:05 UTC

[GitHub] [tvm] ganler opened a new pull request, #12240: [UX][TVMSciprt] Use HTML formatter in notebook environments

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-unsubscribe@tvm.apache.org

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


[GitHub] [tvm] junrushao1994 merged pull request #12240: [UX][TVMSciprt] Use HTML formatter in notebook environments

Posted by GitBox <gi...@apache.org>.
junrushao1994 merged PR #12240:
URL: https://github.com/apache/tvm/pull/12240


-- 
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-unsubscribe@tvm.apache.org

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