Page MenuHomeSealhub

JDD Component for displaying code snippets
Closed, ResolvedPublic3 Points

Description

Use the code from T2990: JDD new argument type: Code and its children.

The component should consist of two arguments:

  • language (short text)
  • code (code)

The code should be rendered with code highlighting (using Pygments or something similar) when making the HTML output and it should have a "copy" button that copies the code to the clipboard.

The copy funcitonality should be done with Stimulus

Details

Tested by
kuba-orlik
Coded by
ziomek
Reviewed by
kuba-orlik
Action required from
ziomek

Revisions and Commits

Restricted Differential Revision
rPLAY Sealious playground
Restricted Differential Revision
rJDDE jdd-editor
Restricted Differential Revision
rJDD jdd
Restricted Differential Revision
rMONACO monaco-wrapper
Restricted Differential Revision
rREWRITE Configurable rewriter
Restricted Differential Revision

Event Timeline

ziomek updated Coded by, added: ziomek.
kuba-orlik changed the point value for this task from 2 to 3.Jan 8 2026, 20:03
ziomek added a revision: Restricted Differential Revision.Jan 22 2026, 23:05
ziomek added a revision: Restricted Differential Revision.Jan 22 2026, 23:38
jenkins-user moved this task from Doing to Review on the Kanban board.
jenkins-user updated Action required from, added: FilipI; removed: ziomek.
jenkins-user added a subscriber: ziomek.
ziomek added a revision: Restricted Differential Revision.Jan 22 2026, 23:49
ziomek added a revision: Restricted Differential Revision.Feb 5 2026, 17:42
jenkins-user updated Reviewed by, added: kuba-orlik.
jenkins-user moved this task from Review to Ready for testing on the Kanban board.
jenkins-user updated Action required from, added: AmeliaB, • Koossa, karolwojtowicz87, brtkuu, prostyfranek, zbartosz, radoptak; removed: FilipI.
jenkins-user updated Tested by, added: kuba-orlik.
jenkins-user moved this task from Ready for testing to Ready to land on the Kanban board.
jenkins-user updated Action required from, added: ziomek; removed: AmeliaB, • Koossa, karolwojtowicz87, brtkuu, prostyfranek, zbartosz, radoptak.
Restricted Repository Identity added a commit: Restricted Diffusion Commit.Feb 9 2026, 19:34