sindresorhus / generate-github-markdown-css

Generate the CSS for github-markdown-css
MIT License
380 stars 77 forks source link

Fix task list style #13

Closed hyrious closed 2 years ago

hyrious commented 2 years ago

See sindresorhus/github-markdown-css#92

Add styles for:

<ul class="contains-task-list">
  <li class="task-list-item"><input class="task-list-item-checkbox" disabled="" type="checkbox"> task list</li>
  <li class="task-list-item"><input class="task-list-item-checkbox" checked="" disabled="" type="checkbox"> checked item</li>
</ul>

Note that now github markdown rendering api does not return this html for task list, you may have to wait for their fix or manually edit the demo page.