Skip to content

lpnh/kirei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

245 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kirei

crates

Askama formatter

Note: kirei is currently experimental and under active development. Expect things to change as we carefully prune all these trees.

Usage

Format and output to stdout:

kirei index.html

Edit files in-place (overwrite with formatted output):

kirei --write index.html

Neovim Integration

Example using conform.nvim:

require("conform").setup({
  formatters = {
    kirei = {
      command = 'kirei',
      args = {
        '--stdin-filepath',
        '$FILENAME',
        '-',
      },
    },
  },
})

About

Askama formatter

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages