BeckOptions Pennington.Beck
Options for the ```beck fence renderer registered by AddPenningtonBeck.
Properties
ContentRootstring- Root directory the file paths in a
```beck:symbolfence body resolve against. Defaults to the working directory, matching the tree-sitter:symbolconvention. RenderOptionsSvgRenderOptions- The base
SvgRenderOptionsapplied to every fence render — measurer, fonts, theme, site-wide default style, custom style registry.Animationis overridden per fence by thestatic/scrubflags. Zoombool- 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
falseto 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; }
}