import { FormatHaml } from 'haml-formatter';
const result = FormatHaml(
`
.level
.level-left
%h1.title
%i.fa.fa-map-marker
.level
.level-left
%h1.title
%i.fa.fa-map-marker
`
);
.level
.level-left
%h1.title
%i.fa.fa-map-marker
.level
.level-left
%h1.title
%i.fa.fa-map-marker
interface Options {
tabSize: number;
insertSpaces: boolean;
}
function FormatHaml(text: string, options?: Partial<Options>): string;
Generated with suf-cli
Copyright (c) 2019 Leonard Grosoli Licensed under the MIT license.