mirror of
https://github.com/thangisme/notes.git
synced 2024-12-21 20:06:24 -05:00
Add support for task lists
This commit is contained in:
parent
4b8e051303
commit
3730de18ea
@ -56,6 +56,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
.task-list {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.task-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
&::before {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
.task-list-item-checkbox {
|
||||
margin-right: 0.6em;
|
||||
}
|
||||
|
||||
hr + * {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
@ -94,6 +94,12 @@ end
|
||||
- level 2 item
|
||||
- level 1 item
|
||||
|
||||
### And a task list
|
||||
|
||||
- [ ] Hello, this is a TODO item
|
||||
- [ ] Hello, this is another TODO item
|
||||
- [x] Goodbye, this item is done
|
||||
|
||||
### Small image
|
||||
|
||||
![](https://assets-cdn.github.com/images/icons/emoji/octocat.png)
|
||||
|
Loading…
Reference in New Issue
Block a user