Skip to content

LineDecorationSpec

Unofficial

Specification for a line decoration that styles an entire line.

Import:

import type { LineDecorationSpec } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface LineDecorationSpec

Properties

Property Type Description
attributes? DecorationAttributes HTML attributes to add to the line element.
class? string CSS class to add to the line element.