ppalaga commented on PR #6262:
URL: https://github.com/apache/camel-quarkus/pull/6262#issuecomment-2217200616

   `$` is nicer visually, because one sees, where a command starts, but you are 
right that it is not so nice when copying. I would not mind removing them, but 
I just stumbled across this piece of Antora docs: 
   
   > Console blocks
   > The default UI also adds a clipboard button to all console blocks. A 
console block is either a literal paragraph that begins with a $ or a source 
block with the language console.
   >
   >The script provided by the default UI will automatically strip the $ prompt 
at the beginning of each line and join the lines with &&.
   
   https://docs.antora.org/antora-ui-default/code-blocks/#console-blocks
   
   It is a feature of default Antora UI, so it may or may not work in the same 
way in Camel custom UI. 
   We should perhaps try to switch from `[source,shell]` to `[source,console]`


-- 
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