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 under /_llms/. 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

ShortcodeInvocation Pennington.Markdown.Shortcodes

One parsed shortcode call site, supplied to ExecuteAsync.

Properties

Content string
Inline content between opener and closer; null for self-closing tags.
NamedArgs IReadOnlyDictionary<string, string>
Named (key=value) arguments; keys are case-insensitive.
PositionalArgs IReadOnlyList<string>
Positional arguments in source order; empty when none were supplied.

Constructors

ShortcodeInvocation

#
public ShortcodeInvocation(IReadOnlyList<string> PositionalArgs, IReadOnlyDictionary<string, string> NamedArgs, string Content)

One parsed shortcode call site, supplied to ExecuteAsync.

Parameters

PositionalArgs IReadOnlyList<string>
Positional arguments in source order; empty when none were supplied.
NamedArgs IReadOnlyDictionary<string, string>
Named (key=value) arguments; keys are case-insensitive.
Content string
Inline content between opener and closer; null for self-closing tags.

Pennington.Markdown.Shortcodes.ShortcodeInvocation

namespace Pennington.Markdown.Shortcodes;

/// One parsed shortcode call site, supplied to ExecuteAsync.
public record ShortcodeInvocation
{
    /// Inline content between opener and closer; null for self-closing tags.
    
public string Content { get; set; }
/// Named (key=value) arguments; keys are case-insensitive.
public IReadOnlyDictionary<string, string> NamedArgs { get; set; }
/// Positional arguments in source order; empty when none were supplied.
public IReadOnlyList<string> PositionalArgs { get; set; }
/// One parsed shortcode call site, supplied to ExecuteAsync.
public ShortcodeInvocation(IReadOnlyList<string> PositionalArgs, IReadOnlyDictionary<string, string> NamedArgs, string Content)
; }