Answer the question
In order to leave comments, you need to log in
How to set option shortcut in gulp-slim?
Hello. Do not tell me how to set up your shortcuts when compiling from slim to html. For example I want to add:
Slim::Engine.set_options shortcut: {
'#' => {attr: 'id'},
'.' => {attr: 'class'},
'&' => {tag: 'input', attr: 'type'},
'@' => {attr: 'role'},
'^' => {attr: %w(data-role role)}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question