1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2024-12-14 11:07:30 +00:00
A pure Nix implementation of org-babel-tangle
Find a file
2021-12-03 23:16:34 +09:00
.github/workflows chore: Fix syntactic error in the CI workflow 2021-12-03 23:03:34 +09:00
nix feat: Add a convenient function for creating a file 2021-12-03 23:14:31 +09:00
test test: Fix the test suite on nixpkgs dependency 2021-12-03 23:16:34 +09:00
flake.lock Initial commit 2021-12-03 22:44:34 +09:00
flake.nix Initial commit 2021-12-03 22:44:34 +09:00
LICENSE docs: Add license 2021-12-03 22:45:03 +09:00
README.org docs: Add readme 2021-12-03 22:44:39 +09:00

nix-org-babel

This is a quick and dirty implementation of org-babel-tangle in Nix. It provides a function that takes an Org string and returns the contents of source blocks in a particular language.

talyz/fromElisp has a built-in Org support, but I created this because I needed more control on which parts to extract. It provides an option for excluding subtrees matching a particular heading pattern. For example, you can omit archived subtrees from the output.