Skip to content

Formatter for ulka using prettier (not a plugin).

License

Notifications You must be signed in to change notification settings

ulkajs/ulka-format

Repository files navigation

ulka-format

Formatter for ulka.

This formatter is for @ulkajs/template-engine. It will not work for ulka-parser as syntax for ulka block is changed from {%%} to {{}} in @ulkajs/template-engine

Installation

npm i @ulkajs/format -D

# OR yarn add -D @ulkajs/format

Usage

  • Javascript Api

    const format = require("format");
    
    format(ulkatext, prettierOptions);
  • Cli

    ulka-format src/**.ulka

Note: This package uses prettier to format ulka but it is not a plugin for prettier.

About

Formatter for ulka using prettier (not a plugin).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published