Commit 8cd4fdb
authored
docs: enable copy-to-clipboard on Report Builder LLM prompt and API base-URL blocks (#15216)
The Doks docs theme (clipboard.js) only adds a copy button to fenced code
blocks that Hugo wraps in <div class="highlight">, which requires the fence
to declare a language. Two Report Builder blocks used a bare ``` fence and
therefore rendered as plain <pre> with no copy button:
- PRO__report_builder_llm.md: the self-contained LLM prompt users are meant
to copy wholesale into Claude/ChatGPT
- PRO__report_builder_api.md: the API base-URL example
Tagging both fences as ```text matches the working Dashboards LLM guide and
gives every command/prompt in the Report Builder docs a copy button.
Authored by T. Walker - DefectDojo1 parent 65cb0ff commit 8cd4fdb
2 files changed
Lines changed: 2 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments