Documentation
¶
Overview ¶
Package embed renders Obsidian image and note embeds, rebasing section-scoped transclusions so recursive diagnostics stay anchored to the original note lines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaxRenderDepth ¶
func MaxRenderDepth() int
MaxRenderDepth returns the embed recursion limit enforced during rendering.
func New ¶
func New( idx *model.VaultIndex, note *model.Note, outputNote *model.Note, diagCollector *diag.Collector, assetSink AssetSink, fallbackResolver gmwikilink.Resolver, convert func([]byte, io.Writer) error, renderEmbedded RenderEmbeddedFunc, imageCount *int, headingIDPrefix string, visited map[string]struct{}, depth int, ) goldmark.Extender
New installs embed-aware wikilink rendering for pass 2.
Types ¶
Click to show internal directories.
Click to hide internal directories.