Tries to get the data associated with the specified typed key.
public static bool TryGetData<T>(this IMarkdownObject markdownObject, DataKey<T> key, scoped out T? value)
The markdown object.
The typed key to read.
The output value if found and type-compatible.
true if the value exists and matches T; otherwise false.