@prighter/jinja2-beautify

1.0.0 • Public • Published

npm version code style: prettier

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Add your changes: git add .
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request 😎

Authors

  • Hakan Alp - Initial work and maintain - hakanalpp

See also the list of contributors who participated in this project.

License

MIT License © Prighter

Package Sidebar

Install

npm i @prighter/jinja2-beautify

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

12.7 kB

Total Files

12

Last publish

Collaborators

  • hakanalp
  • prighter-org