line

Creates a single line of markdown content with mixed formatting. Useful for creating complex inline formatting combinations.

Example:

line {
    text("This is ")
    bold("bold")
    text(" and ")
    italic("italic")
    text(" text with a ")
    link("link", "https://example.com")
}

Parameters

block

The line content builder