Yiyiyimu opened a new issue #392:
URL: https://github.com/apache/apisix-website/issues/392


   Currently docusaurus code block copy button would copy all texts including 
the leading dollar sign, so users could not run commands by simple copy and 
paste.
   
![image](https://user-images.githubusercontent.com/34589752/123570658-b106a100-d796-11eb-8d21-66be0faf0105.png)
   
   A easy option is to remove all the dollar sign, but it would lead to messy 
structure in code blocks, making commands and results the same. So a better 
method could be refining code block copy button behavior to ignore leading `$`, 
as [discussed in 
docusaurus](https://github.com/facebook/docusaurus/issues/1745#issuecomment-546798830)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to