Jinja Beautify
Jinja Beautifier that treats Jinja Blocks as HTML tags
Prerequisites
This project builts with Yarn.
NPM also works, but not tested enough.
To make sure you have them available on your machine,
try running the following command.
$ npm -v && node -v && yarn -v
7.24.1
v16.13.0
1.22.11
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Installation
BEFORE YOU INSTALL: please read the prerequisites
Start with cloning this repo on your local machine:
$ git clone https://github.com/hakanalpp/jinja2-beautify.git
$ cd PROJECT
To install and set up the library, run:
$ yarn add --dev jinja2-beautify
Or if you prefer using NPM:
$ npm install -S jinja2-beautify
Usage
Running the app
$ yarn start <filename1>.html <filename2>.html
Running the tests
$ yarn test
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes:
git add .
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
😎
Authors
- Hakan Alp - Initial work and maintain - hakanalpp
See also the list of contributors who participated in this project.