MarkdownUtilities.ExtractYamlValue

Extracts a single YAML value from a YAML block

public static string ExtractYamlValue(string yamlText,
	string key)

Return Value

matched text or string.Empty()

Parameters

yamlText
The YAML text to search in

key
The key to look for. Key is case sensitive.


See also:

Class MarkdownUtilities

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic