Skip to content

MarkdownImageLoader

Namespace: Hex1b.Markdown

Assembly: Hex1b.dll

Callback for loading and decoding markdown images. The imageUri is parsed from the image source attribute using , supporting both local file paths and remote URLs. Return null to fall back to text-only rendering of the image alt text.

csharp
public delegate Task<MarkdownImageData?> MarkdownImageLoader(Uri imageUri, string altText)

Released under the MIT License.