This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/web-beautify/README.org
syl20bnr 542ada133d New layer web-beautify extracted from javascript layer
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00

28 lines
820 B
Org Mode

#+TITLE: web-beautify layer
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key Bindings]]
* Description
This layer adds support for [[https://github.com/yasuyk/web-beautify][web-beautify]].
** Features:
- Format buffer to be beautiful
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =web-beautify= to the existing =dotspacemacs-configuration-layers= list in
this file.
To install =js-beautify= globally:
#+BEGIN_SRC sh
$ npm install -g js-beautify
#+END_SRC
* Key Bindings
| Key Binding | Description |
|-------------+-----------------------------------|
| ~SPC m =~ | beautify code in supported layers |