2015-02-10 03:27:46 +00:00
|
|
|
# Markdown contribution layer for Spacemacs
|
|
|
|
|
|
|
|
![logo](img/markdown.png)
|
2015-02-10 03:13:09 +00:00
|
|
|
|
|
|
|
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc/generate-toc again -->
|
|
|
|
**Table of Contents**
|
|
|
|
|
|
|
|
- [Colors contribution layer for Spacemacs](#colors-contribution-layer-for-spacemacs)
|
|
|
|
- [Description](#description)
|
|
|
|
- [Install](#install)
|
|
|
|
- [Key bindings](#key-bindings)
|
|
|
|
- [Ledger](#ledger)
|
|
|
|
|
|
|
|
<!-- markdown-toc end -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
This layer adds markdown support to Spacemacs.
|
2015-02-10 03:13:09 +00:00
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
Features:
|
|
|
|
- markdown files support via [markdown-mode][]
|
|
|
|
- TOC generation via [markdown-toc][]
|
2015-02-10 03:13:09 +00:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
To use this contribution add it to your `~/.spacemacs`
|
|
|
|
|
|
|
|
```elisp
|
2015-02-18 03:36:12 +00:00
|
|
|
(setq-default dotspacemacs-configuration-layers '(markdown))
|
2015-02-10 03:13:09 +00:00
|
|
|
```
|
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
## Usage
|
2015-02-10 03:13:09 +00:00
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
To generate a table of contents type on top of the buffer:
|
|
|
|
<kbd>SPC : markdown-toc/generate-toc RET</kbd>
|
2015-02-10 03:13:09 +00:00
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
## Key bindings
|
2015-02-10 03:13:09 +00:00
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
**TODO**
|
2015-02-10 03:13:09 +00:00
|
|
|
|
2015-02-10 03:27:46 +00:00
|
|
|
[markdown-mode]: http://jblevins.org/git/markdown-mode.git/
|
|
|
|
[markdown-toc]: https://github.com/ardumont/markdown-toc
|
2015-02-10 03:13:09 +00:00
|
|
|
|