1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-01 17:46:00 -04:00

Add support for task lists

This commit is contained in:
Patrick Marsceill 2018-11-16 10:56:50 -05:00
parent 4b8e051303
commit 3730de18ea
No known key found for this signature in database
GPG Key ID: 286B93882D828F40
2 changed files with 22 additions and 0 deletions

View File

@ -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;
}

View File

@ -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)