tiny.termtex.render
Defined in renderer.
Source
Source: lib/termtex/src/render.zig:33
zig
pub fn render(allocator: std.mem.Allocator, source: []const u8, options: Options) !Rendered { _ = options; var arena = alloc_arena.Arena.init(allocator); errdefer arena.deinit(); const expr = try parse.parse(arena.allocator(), source); const box = try layout.layout(arena.allocator(), expr); const rendered_rows = try layout.rows(arena.allocator(), box); return .{ .arena = arena, .rows = rendered_rows, .width = box.width, .height = box.height, .baseline = box.baseline, };}Source: lib/termtex/src/root.zig:26
zig
pub const render = renderer.render;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |