# Markdown contribution layer for Spacemacs ![logo](img/markdown.png) **Table of Contents** - [Colors contribution layer for Spacemacs](#colors-contribution-layer-for-spacemacs) - [Description](#description) - [Install](#install) - [Key bindings](#key-bindings) - [Ledger](#ledger) ## Description This layer adds markdown support to Spacemacs. Features: - markdown files support via [markdown-mode][] - TOC generation via [markdown-toc][] ## Install To use this contribution add it to your `~/.spacemacs` ```elisp (setq-default dotspacemacs-configuration-layers '(markdown)) ``` ## Usage To generate a table of contents type on top of the buffer: SPC : markdown-toc/generate-toc RET ## Key bindings **TODO** [markdown-mode]: http://jblevins.org/git/markdown-mode.git/ [markdown-toc]: https://github.com/ardumont/markdown-toc