mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06: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 + * {
|
hr + * {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
@ -94,6 +94,12 @@ end
|
|||||||
- level 2 item
|
- level 2 item
|
||||||
- level 1 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
|
### Small image
|
||||||
|
|
||||||

|

|
||||||
|
Loading…
x
Reference in New Issue
Block a user