;; Assign CSS during export. (setq org-export-html-style "") ;; Insert preamble pointing to the manual proper and my blogpost so user can regenerate this however they like. (setq org-export-html-preamble "
This is a distillation of the Magit user manual, which has more detail than this quick cheatsheet provides. Read the user manual! Blogpost containing materials to regenerate this cheatsheet from scratch here.
") ;; search-and-replace macro to assign necessary CSS classes to the TD ;; elements after export. (fset 'classify-tds (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("^S^MD class=\"command\"^S^MD class=\"description\"^S^SCD ^?D class=\"notes\"^A^N" 0 "%d")) arg)))