Skip to content

Commit

Permalink
docs(readme): update width for margins
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Jan 13, 2024
1 parent b44b3e5 commit 9f7d746
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,7 @@ freeze artichoke.hs --border --radius 8

### Padding

Add padding to the terminal window.

Given 1 value, padding applies to all sides. Given 2 values, the first value
applies to vertical padding and the second to horizontal padding. Given 4
values, the padding applies to the top, right, bottom, left sides respectively.
Add padding to the terminal window. You can provide 1, 2, or 4 values.

```bash
freeze main.go --padding 20 # all sides
Expand All @@ -165,11 +161,7 @@ freeze main.go --padding 20,60,20,40 # top, right, bottom, left

### Margin

Add margin to the terminal window.

Given 1 value, margin applies to all sides. Given 2 values, the first value
applies to vertical margin and the second to horizontal margin. Given 4
values, the margin applies to the top, right, bottom, left sides respectively.
Add margin to the terminal window. You can provide 1, 2, or 4 values.

```bash
freeze main.go --margin 20 # all sides
Expand All @@ -178,7 +170,7 @@ freeze main.go --margin 20,60,20,40 # top, right, bottom, left
```

<br />
<img alt="output of freeze command, haskell code block with margin applied" src="./examples/margin.svg" width="600" />
<img alt="output of freeze command, haskell code block with margin applied" src="./examples/margin.svg" width="640" />

### Shadow

Expand All @@ -189,7 +181,7 @@ freeze artichoke.hs --shadow --margin 20
```

<br />
<img alt="output of freeze command, haskell code block with a shadow" src="./examples/shadow.svg" width="600" />
<img alt="output of freeze command, haskell code block with a shadow" src="./examples/shadow.svg" width="640" />

## Feedback

Expand Down

0 comments on commit 9f7d746

Please sign in to comment.