Skip to content

Instantly share code, notes, and snippets.

@nrolland
Created November 30, 2018 23:01
Show Gist options
  • Save nrolland/a3e47f7acecbfc9e060c1549e841a5e0 to your computer and use it in GitHub Desktop.
Save nrolland/a3e47f7acecbfc9e060c1549e841a5e0 to your computer and use it in GitHub Desktop.
#! /usr/bin/env nix-shell
#! nix-shell -i "emacs --script" -p "pkgs.emacsWithPackages(epkgs: (with epkgs.melpaPackages; [ ox-gfm ]))"
#! nix-shell -I nixpkgs=channel:nixos-18.09
(package-initialize)
(require 'org)
(require 'ox-gfm)
(org-gfm-publish-to-gfm nil "myorgfile.org" ".")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment