Skip to content

esc-emacs/coleslaw-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

COLESLAW-MODE

An Emacs Minor Mode For Coleslaw

Features

  • coleslaw-insert-header (bound to M-;) inserts the comment block depending on the type of file, and is how the major mode is selected for the file.
  • A *.post file would insert:
;;;;;
title:
format:
date:
;;;;;
<!--more-->

<!--more-->

Install

  1. Clone in your ~/.emacs.d/ or equivalent staging area.
  • Add this line to your init file (maybe at ~/.emacs.d/init.el). This assumes that you cloned into ~/.emacs.d/; change it to fit.

    
     (add-to-list 'load-path "~/.emacs.d/coleslaw-mode/")
    
    
  • Install optional dependencies

  • For markdown syntax highlighting, markdown-mode.

  • For a preview of the markdown, markdown-preview-eww.

  • Note that eww has special OS level dependencies.

  • Open a .page or .post file in emacs!

  • You might want to view the eww preview with w3m. If so, use: (setq browse-url-browser-function 'w3m-goto-url)

TODO

  • Bind emacs commands for interacting with coleslaw via slime.

About

Emacs mode for the site generator written in Common Lisp, "Coleslaw:" https://github.com/kingcons/coleslaw

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%