Skip to content

Instantly share code, notes, and snippets.

View jweaver's full-sized avatar

Jack Weaver jweaver

  • ~/
View GitHub Profile
@jweaver
jweaver / steps.md
Created April 4, 2018 23:17 — forked from fredRos/steps.md
Setup emacs with github markdown and pandoc offline rendering

Based on this blog.

This guide shows you how to setup emacs to render a README.md very similarly to how github will do it; except it also works offline. There are no dependencies that can't be easily installed via the package manager on ubuntu.

  1. Install emacs24, the markdown mode, and pandoc. You may need the packages emacs, emacs-goodies-el, and pandoc.
  2. Get a style sheet that resembles the github style from this gist and store it. I put it in ~/emacs.d/github-pandoc.css.