import { SassFormatter } from 'sass-formatter'; const result = SassFormatter.Format( ` span color: none @for $i from 0 through 2 &:nth-child(#{$i}) color: none @each $author in $list .photo-#{$author} background: image-url("avatars/#{$author}.png") no-repeat @while $types > 0 .while-#{$types} width: $type-width + $types` );
span color: none @for $i from 0 through 2 &:nth-child(#{$i}) color: none @each $author in $list .photo-#{$author} background: image-url("avatars/#{$author}.png") no-repeat @while $types > 0 .while-#{$types} width: $type-width + $types
interface SassFormatterConfig { /**Enable debug messages */ debug: boolean; /**delete rows that are empty. */ deleteEmptyRows: boolean; /**@deprecated*/ deleteWhitespace: boolean; /**Convert css or scss to sass */ convert: boolean; /**set the space after the colon of a property to one.*/ setPropertySpace: boolean; tabSize: number; /**insert spaces or tabs. */ insertSpaces: boolean; /**Defaults to LF*/ lineEnding: 'LF' | 'CRLF'; }defaultSassFormatterConfig
const defaultSassFormatterConfig: SassFormatterConfig;
Generated with suf-cli
Copyright (c) 2019 Leonard Grosoli Licensed under the MIT license.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4