This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy at the same URL with .md appended. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

BeckOptions Pennington.Beck

Options for the ```beck fence renderer registered by AddPenningtonBeck.

Properties

ContentRoot string
Root directory the file paths in a ```beck:symbol fence body resolve against. Defaults to the working directory, matching the tree-sitter :symbol convention.
RenderOptions SvgRenderOptions
The base SvgRenderOptions applied to every fence render — measurer, fonts, theme, site-wide default style, custom style registry. Animation is overridden per fence by the static/scrub flags.
Zoom bool
Emits a fullscreen-zoom button into each rendered embed, backed by a small inline script and stylesheet contributed to the document head (the one piece of client JavaScript in this package — rendering stays server-side). Set false to keep embeds as bare SVG with no client behavior.

Pennington.Beck.BeckOptions

namespace Pennington.Beck;

/// Options for the ```beck fence renderer registered by AddPenningtonBeck.
public class BeckOptions
{
    /// Root directory the file paths in a ```beck:symbol fence body resolve against. Defaults to the working directory, matching the tree-sitter :symbol convention.
    
public string ContentRoot { get; set; }
/// The base SvgRenderOptions applied to every fence render — measurer, fonts, theme, site-wide default style, custom style registry. Animation is overridden per fence by the static/scrub flags.
public SvgRenderOptions RenderOptions { get; set; }
/// Emits a fullscreen-zoom button into each rendered embed, backed by a small inline script and stylesheet contributed to the document head (the one piece of client JavaScript in this package — rendering stays server-side). Set false to keep embeds as bare SVG with no client behavior.
public bool Zoom { get; set; }
}