A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/slim-template/haml2slim below:

slim-template/haml2slim: Haml to Slim converter.

Haml to Slim converter.

Due to the complex logic behind both Haml's and Slim's parsers, there is currently no way of reliably converting between Haml and Slim templates.

Haml2Slim only serves as a preliminary tool for templates conversion. You should always manually verify the converted templates.

You may convert files using the included executable haml2slim.

# haml2slim -h

Usage: haml2slim INPUT_FILENAME_OR_DIRECTORY [OUTPUT_FILENAME_OR_DIRECTORY] [options]
        --trace                      Show a full traceback on error
    -d, --delete                     Delete HAML files
    -h, --help                       Show this message
    -v, --version                    Print version

Alternatively, to convert files or strings on the fly in your application, you may do so by calling Haml2Slim.convert!.

This project is released under the MIT license.

Fred Wu


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