Skip to content

Commit 55d3349

Browse files
authored
Update README.md
1 parent ef6b8ad commit 55d3349

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ docker run -v ~/documents/my-md-documents:/data davidar/pandiff -o diff.pdf old.
144144

145145
The docker image also allows you to create diff views inside github actions or a gitlab ci/cd pipeline.
146146

147-
#### GitHub Action
147+
<details>
148+
<summary>GitHub Action</summary>
149+
148150
```yaml
149151
name: Markdown Diff
150152

@@ -175,9 +177,11 @@ jobs:
175177
name: diff-pdf
176178
path: diff.pdf
177179
```
180+
</details>
178181
182+
<details>
183+
<summary>Gitlab CI example</summary>
179184
180-
#### Gitlab CI example
181185
```yaml
182186
stages:
183187
- diff
@@ -194,3 +198,4 @@ compile_markdown_to_pdf:
194198
paths:
195199
- diff.pdf
196200
```
201+
</details>

0 commit comments

Comments
 (0)