Skip to documentation
SLOP

tiny.zen.Heading

Reference tiny.zen Heading

Defined in tiny.zen.

One source heading copied into caller-owned storage.

API (4)

Fields and members

Public fields and members.

No direct callersNo direct callstiny.zenHeading
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/zen/src/document/model.zig:2

zig
/// One source heading copied into caller-owned storage.pub const Heading = struct {    /// Markdown heading depth from 1 through 6.    level: u8,    /// Visible heading text without an explicit anchor suffix.    text: []const u8,    /// Exact explicit ID or the generated collision-safe ID.    id: []const u8,    /// Byte offset of the heading marker in the Markdown source.    source_offset: usize,};

Source: lib/zen/src/root.zig:180

zig
/// One copied heading with level, visible text, stable ID, and source offset.pub const Heading = document.Heading;

Also reachable as

document.Heading.

Audit

Definitions1
Public names2
Members4
Version26.7.0
Revisiondaab053ee433