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, 1996-2021 • Updated: 11/23/21
Comment or report problem with topic