I’m trying to set up formatting for nested paragraphs so that sub—paragraphs 2-3-4 of the level differ in spelling from paragraphs 1 of the level. But it is important for me to do this only for tasks, without affecting bulleted and numbered lists.
I managed to achieve the effect for items of level 2-3-4, but without reference to what level 1 item is — a task or a list. That is, formatting was applied to subtasks of level 2-3-4, no matter where they are in the task list, numbered or bulleted list.
I use this CSS:
ul > li.task-list-item > ul > li,
.mod-cm6 .HyperMD-list-line-2.HyperMD-task-line,
.mod-cm6 .HyperMD-list-line.HyperMD-list-line-2 {
font-size: 13px;
font-style: italic;
color: var(--text-muted); }
I tried to communicate with ChatGPT and look for selectors through the developer’s console, but it was unsuccessful…

