Skip to content

Create new Spacemacs Layers with literate programming and Org tangling.

License

Notifications You must be signed in to change notification settings

arifer612/spacemacs-literate-layering

Repository files navigation

Spacemacs Literate Layering

https://img.shields.io/badge/license-GPL_3-green.svg https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg

Create new Spacemacs Layers with literate programming and Org tangling.

Installation

Add the following to dotspacemacs-additional-packages in your dot-config file

(...
 dotspacemacs-additional-packages
 '((spacemacs-literate-layering
    :location (recipe
               :fetcher github
               :repo "arifer612/spacemacs-literate-layering"
               :files ("*.el" "layer.org.template" "library.org")))
   ...)
 ...)

Usage

Lazy-load the package by adding the following snippet within the user-config section in your dot-config file

(use-package spacemacs-literate-layering
  :after org
  :commands (spacemacs-literate|create-layer)
  :hook (org-mode . spacemacs-literate-layering-minor-mode))

With that, you can easily create a new layer by executing M-x spacemacs-literate|create-layer! All other private layers will also have access to the Library of Babel nowebs.

Example

For an example of how to write a Spacemacs layer using this package, you can refer to the example Org file that gets tangled into packages.el and layers.el in a manner that is completely compatible with Spacemacs.

About

Create new Spacemacs Layers with literate programming and Org tangling.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published