Documentation | copybutton: Add support for stripping shell prompt (!232)

Amar Takhar (@amar) gitlab at rtems.org
Thu Mar 19 23:27:39 UTC 2026



Amar Takhar created a merge request: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/232

Project:Branches: amar/rtems-docs:copybutton to rtems/docs/rtems-docs:main
Author:   Amar Takhar
Assignee: Amar Takhar


## Summary

copybutton: Add support for stripping shell prompt

This uses a default of '$ ' for the shell prompt and it will also strip shell
output which is what the '.go' is for.

Updates #139


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/merge_requests/232
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260319/360d2055/attachment.htm>


More information about the bugs mailing list