Skip to content

Commit

Permalink
Add "Blocks in Blocks" feature to README
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimsergey authored Dec 27, 2023
1 parent 9c7bba8 commit 96bb171
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,28 @@ column two
[end]
```

You can also declare blocks in other blocks for further division:

```markdown
this text takes up the whole width

[begin]
this text takes up the first half

[begin]
this text takes up the first quarter

[col]
this text takes up the second quarter

[end]

[col]
this text takes up the second half

[end]
```

### Custom width ratio
Some columns can take up more space that the others. Just add a number after a tag:

Expand Down Expand Up @@ -105,4 +127,4 @@ outside text
- uses setting value

[end]
```
```

0 comments on commit 96bb171

Please sign in to comment.