You can of course do it manually with divs in your Markdown as well: ````markdown :::shallow - a - b - c ::: :::deep - A - B - a - b - c - C ::: ```` and then in your CSS: ````css div.shallow > ul { /* style here */ } div.deep > ul { /* style here */ } ```` The main point is that Pandoc doesn't support attributes on most elements, so you have to put block elements inside a div and inline elements inside a span, set the attributes on the div/span and use a child selector in CSS. Den ons 18 sep. 2019 01:39John MacFarlane skrev: > Craig Parker writes: > > > So if I define a ul.shallow and a ul.deep in my css, you're saying a lua > > filter would render (in the html)