Skip to content

v2.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Jul 23:41
b7c1b52

Added

 

em size units

Size values now support the font-relative em unit, e.g. 2em, 0.7em.

Thanks @arpitagarwal1301!

 

Fixed

 

Inline replacement lambdas accept nested function calls

Node-returning function calls, such as .text, can now be used in .match and other body lambdas as expected.

.match {Quarkdown takes its name from quarks} pattern:{[Qq]uark(down|s)?}
    .1::text color:{purple} decoration:{underline}

 

Chained .extend composes in declaration order

Multiple extensions on the same function now stack in the correct LIFO declaration order. The following snippet now correctly renders the heading in red, rather than blue:

.extend {heading}
    .super foreground:{blue}

.extend {heading}
    .super foreground:{green}

.extend {heading}
    .super foreground:{red}

## Heading

 

.match in chained extensions sees content correctly

Fixed the ability to chain multiple .match calls onto the same content:

.extend {paragraph}
    content:
    .super
        .content::match {A}
            .1::text color:{blue}

.extend {paragraph}
    content:
    .super
        .content::match {B}
            .1::text color:{red}

 

Fixed empty pages on CSS declarations

Fixed an issue that caused .css and .cssproperties to produce empty pages in paged documents when the declaration was before an H1.

Thanks @arpitagarwal1301!

 

Backslashes allowed in all-in-one footnotes

Escape sequences and any content containing a backslash, such as math expressions, are now recognized inside the [^label: ...] form of footnote definitions.


Sponsors

Thanks to our sponsors! 🎉

@vitto4

Falconer