an append only list
0

Configure Feed

Select the types of activity you want to include in your feed.

hide bullet on checkbox list items

Michael Yang (Jun 12, 2026, 5:41 PM -0700) c290378e 652d0469

+9 -1
+8
css/index.css
··· 1 + li:has(input[type="checkbox"]) { 2 + list-style: none; /* hide list bullet */ 3 + margin-left: -21px; /* position checkbox over */ 4 + } 5 + 6 + li input[type="checkbox"] { 7 + margin-right: 0.6em; 8 + }
+1 -1
js/index.ts
··· 10 10 event.preventDefault() // prevent a page refresh 11 11 if (input.value === '') return 12 12 13 - const checkboxRegex = /^-? *\[ *\]/ 13 + const checkboxRegex = /^-? *\[ *\] */ 14 14 let text = input.value 15 15 const listItem = document.createElement("li") 16 16