git.s-ol.nu mmm / a02ae9c
add support for nested sidenotes s-ol 1 year, 11 months ago
2 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4343 transform: (md) => "<div class=\"markdown\">#{markdown md}</div>"
4444 }
4545 {
46 inp: 'text/markdown%+sidenotes'
47 out: 'text/html+frag'
48 cost: 1
49 transform: (md) => "<div class=\"markdown sidenote-container\">#{markdown md}</div>"
50 }
51 {
4652 inp: 'text/markdown%+span'
4753 out: 'text/html+frag'
4854 cost: 1
44
55 @include media-medium {
66 margin: auto;
7 }
8
9 .sidenote-container & {
10 margin-right: initial;
11 margin: initial;
712 }
813
914 .sidenote {