docs: make code blocks collapsible (#7606)

* added collapsible code feature

* fixed side shadow

* fix build errors

* change design

* make code blocks collapsible
This commit is contained in:
Shahed Nasser
2024-06-05 10:28:41 +03:00
committed by GitHub
parent dc087bf310
commit 4a6327e497
44 changed files with 815 additions and 446 deletions
@@ -12,7 +12,7 @@ By default, when an error occurs in a step, the step and the workflow fail, and
You can configure the step to retry on failure. The `createStep` function can accept a configuration object instead of the steps name as a first parameter:
```ts title="src/workflows/hello-world.ts" highlights={[["10"]]}
```ts title="src/workflows/hello-world.ts" highlights={[["10"]]} collapsibleLines="1-6" expandButtonLabel="Show Imports"
import {
createStep,
StepResponse,