1.1.3 ā¢ Published 6 years ago
fork-prettier-markdown-codeblocks v1.1.3
Prettier Markdown Codeblocks
Format codeblocks in markdown files using prettier and rubocop.
Supports
- JavaScript, including ES2017
- JSX
- Flow
- TypeScript
- CSS, LESS, and SCSS
- JSON
- GraphQL
- Ruby (via rubocop
gem install rubocop
)
We aslo support full customization using .eslintrc.js file and respctive .rubocop.yml configuration files to tweak the formatted style to your projects requirements.
Wishlist
- Java (in progress)
- C#
- Python
Usage
Directory
prettier-markdown-codeblocks <directory>
File
prettier-markdown-codeblocks <file.md>
Stdin
cat <file.md> | prettier-markdown-codeblocks | tee <file.md>
Contributing
šš First off, thanks for taking the time to contribute! šš
Bug reports and pull requests are welcome on GitHub at https://github.com/rposborne/prettier-markdown-codeblocks. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The package is available as open source under the terms of the MIT License.
1.1.3
6 years ago