Sha256: fd10b5af59694fe949ac8642b5392a9edd1b19ce76e278a43d79258a173a6015

Contents?: true

Size: 851 Bytes

Versions: 6

Compression:

Stored size: 851 Bytes

Contents

---
title: Webgen::ContentProcessor::Less
---
## Description

This content processor converts content in LESS format to valid CSS using the [LESS library][1].

LESS is an extension of CSS which allows the use of variables, mixins, operations and nested rules.
Since a normal CSS file is a valid LESS file, the transition to LESS is very easy. For detailed
information about LESS have a look at its [documentation page][2]!

> This extension is only available if you have installed the [less][1] library. The preferred way to
> do this is via Rubygems:
>
>     gem install less
{:.warning}


## Example

Here is a short sample of a text in LESS format:

    @base: #543;

    #header {
      color: @base;
      a {
        color: @base * 2;
        text-decoration: underline;
      }
    }

[1]: http://lesscss.org/
[2]: http://lesscss.org/docs.html

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
webgen-0.5.17 doc/contentprocessor/less.page
webgen-0.5.15 doc/contentprocessor/less.page
webgen-0.5.14 doc/contentprocessor/less.page
webgen-0.5.13 doc/contentprocessor/less.page
webgen-0.5.12 doc/contentprocessor/less.page
webgen-0.5.11 doc/contentprocessor/less.page