Added README.md info for TypeScript formatting

This commit is contained in:
Dani Hodovic 2015-03-22 20:30:10 +01:00
parent c6afe09669
commit 074b2ac463

View File

@ -85,6 +85,12 @@ let g:formatprg_args_expr_javascript = '"-".(&expandtab ? "s ".&shiftwidth : "t"
``` ```
Here is the link to the repository: https://github.com/einars/js-beautify. Here is the link to the repository: https://github.com/einars/js-beautify.
* `typescript-formatter` for __Typescript__.
`typescript-formatter` is a thin wrapper around the TypeScript compiler services.
It can be installed by running `npm install -g typescript-formatter`.
Note that `nodejs` is needed for this to work.
Here is the link to the repository: https://github.com/vvakame/typescript-formatter.
* `html-beautify` for __HTML__. * `html-beautify` for __HTML__.
It is shipped with `js-beautify`, which can be installed by running `npm install -g js-beautify`. It is shipped with `js-beautify`, which can be installed by running `npm install -g js-beautify`.
Note that `nodejs` is needed for this to work. Note that `nodejs` is needed for this to work.