need a copy code widget to be able to copy code snippets #2288
Labels
Documentation
Improvements or additions to documentation
feature request
New feature or request
not a bug
Some known limitation, but not a bug.
stale
triaged
Issue has been triaged by maintainers
Is it possible to add to https://nvidia.github.io/TensorRT-LLM/ the code copy widget that you already have on https://nvidia.github.io/TensorRT-Model-Optimizer/?
For example if you go to https://nvidia.github.io/TensorRT-Model-Optimizer/guides/_pytorch_quantization.html#apply-post-training-quantization-ptq you can copy the code
But if you go to https://nvidia.github.io/TensorRT-LLM/llm-api-examples/index.html#llm-examples-introduction you can't - manual copy-n-paste results in double new lines for me.
Thank you!
I think it's the way the HTML is encoded which breaks each line, because you have 2 spans per line
The text was updated successfully, but these errors were encountered: