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

33 lines
823 B
Org Mode
Raw Normal View History

#+TITLE: web-beautify layer
2019-05-02 21:49:30 +00:00
#+TAGS: layer|tool
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_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:
2018-07-10 10:57:25 +00:00
#+BEGIN_SRC sh
$ npm install -g js-beautify
#+END_SRC
* Key bindings
2018-05-18 05:58:00 +00:00
| Key binding | Description |
|-------------+-----------------------------------|
| ~SPC m = =~ | beautify code in supported layers |