https://github.com/busterc/vscode-marko-beautify
:sparkle: beautify Marko code, in place, for VS Code
https://github.com/busterc/vscode-marko-beautify
marko markojs vscode vscode-extension vscode-plugin
Last synced: 11 months ago
JSON representation
:sparkle: beautify Marko code, in place, for VS Code
- Host: GitHub
- URL: https://github.com/busterc/vscode-marko-beautify
- Owner: busterc
- Created: 2017-04-27T21:44:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T19:18:50.000Z (about 7 years ago)
- Last Synced: 2025-02-06T06:34:35.245Z (about 1 year ago)
- Topics: marko, markojs, vscode, vscode-extension, vscode-plugin
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Marko Beautify [](https://marketplace.visualstudio.com/items?itemName=buster.marko-beautify)
> beautify Marko code, in place, for VS Code
- built on top of [@marko/prettyprint](https://github.com/marko-js/cli/tree/master/packages/prettyprint)

## How to Use
This extension uses the built-in formatter api,
so it's as easy to use as `shift+alt+f`.
Also, guess what it does if you enable `editor.formatOnSave`.
## Extension Settings
- `marko.beautify.eol`: The EOL sequence (defaults to "\n")
- `marko.beautify.indent`: The indent string (defaults to two spaces)
- `marko.beautify.maxLen`: The max line length (defaults to -1 to disable)
- `marko.beautify.syntax`: The syntax to use; either "html" or "concise" (defaults to "html")