# lang-yaml **Repository Path**: ijs/lang-yaml ## Basic Information - **Project Name**: lang-yaml - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-05 - **Last Updated**: 2024-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @codemirror/lang-yaml [](https://www.npmjs.org/package/@codemirror/lang-yaml) [ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-yaml/blob/main/CHANGELOG.md) ] This package implements YAML language support for the [CodeMirror](https://codemirror.net/) code editor. The [project page](https://codemirror.net/) has more information, a number of [examples](https://codemirror.net/examples/) and the [documentation](https://codemirror.net/docs/). This code is released under an [MIT license](https://github.com/codemirror/lang-yaml/tree/main/LICENSE). We aim to be an inclusive, welcoming community. To make that explicit, we have a [code of conduct](http://contributor-covenant.org/version/1/1/0/) that applies to communication around the project. The initial implementation of this package was funded by [Braintrust Data](https://braintrustdata.com/). ## API Reference
yaml() → LanguageSupportLanguage support for YAML.
yamlLanguage: LRLanguageA language provider based on the Lezer YAML parser, extended with highlighting and indentation information.
yamlFrontmatter(config: {content: Language | LanguageSupport}) → LanguageSupportReturns language support for a document parsed as config.content
with an optional YAML "frontmatter" delimited by lines that
contain three dashes.