Skip to content

llhotka/ob-yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Org Babel support for YAML

The Emacs Lisp module ob-yaml.el adds support for YAML source code blocks in Org Babel. It was created via trivial modifications of the template file.

The primary aim was to allow for writing and maintaining bigger YAML files (or sets of such files) in a literate programming style by using the powerful Babel subsystem of Org mode. One particular example are Home Assistant configuration files.

Only a subset of Org Babel functionality is required for such purposes, namely editing blocks in yaml-mode, tangling (including noweb references) and possibly exporting. Specifically, YAML blocks needn’t be evaluated, and so evaluation-related functions are left unimplemented.

Installation

The module can be easily installed in Emacs via use-package:

(use-package ob-yaml
  :vc (:url "https://github.com/llhotka/ob-yaml.git"
       :rev :newest))

Alternatively, the ob-yaml.el file can be downloaded and than loaded locally using, for instance, the Emacs load function.

About

Org Babel support for YAML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published