Skip to content

Source block's copy-to-clipboard is not documented

Antora's source blocks come with copy-to-clipboard by default. They also have special logic for source blocks of language console, which makes the copy-to-clipboard strip leading $ and combine multiple lines with &&. This is useful behavior for tutorial code and should be documented.

I have some draft documentation here but following the contribution guidelines will not submit an MR yet.

Edited by Bobbie Chen