Skip to contentSkip to conversation

what implements the "copy" button in YP docs code blocks?

docs Robert P. J. Day 1 participant 1 message Aug 23 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Robert P. J. Day

perusing another sphinx code base and want to add the YP-common
feature of, in code blocks. the ability to copy the command (while leaving behind the '$' prompt).

is that all provided by a simple "code-block", or is there some
special extra config to get that?

duh ... never mind, "sphinx-copybutton" extension.

rday