Fix markdown in color function docs

This commit is contained in:
Natalie Weizenbaum 2018-10-22 17:16:46 -07:00
parent 05ee8c4582
commit 5284490b2c

View File

@ -26,6 +26,7 @@ be unitless. The `$alpha` argument must be unitless and between -1 and 1
[unitless]: ../values/numbers#units
See also:
* [`scale-color()`](#scale-color) for fluidly scaling a color's properties.
* [`change-color()`](#change-color) for setting a color's properties.
@ -83,6 +84,7 @@ As a special case, this supports the Internet Explorer syntax
[unquoted string]: ../documentation/values/strings#unquoted
See also:
* [`red()`](#red) for getting a color's red channel.
* [`green()`](#green) for getting a color's green channel.
* [`blue()`](#blue) for getting a color's blue channel.
@ -106,6 +108,7 @@ See also:
Returns the blue channel of `$color` as a number between 0 and 255.
See also:
* [`red()`](#red) for getting a color's red channel.
* [`green()`](#green) for getting a color's green channel.
* [`hue()`](#hue) for getting a color's hue.
@ -146,7 +149,10 @@ argument must have either the unit `deg` or no unit. The `$saturation` and
unitless. The `$alpha` argument must be unitless and between -1 and 1
(inclusive).
[unitless]: ../values/numbers#units
See also:
* [`scale-color()`](#scale-color) for fluidly scaling a color's properties.
* [`adjust-color()`](#adjust-color) for adjusting a color's properties by fixed
amounts.
@ -311,6 +317,7 @@ This is identical to [`change-color($color, $saturation: 0%)`](#change-color).
Returns the green channel of `$color` as a number between 0 and 255.
See also:
* [`red()`](#red) for getting a color's red channel.
* [`blue()`](#blue) for getting a color's blue channel.
* [`hue()`](#hue) for getting a color's hue.
@ -384,6 +391,7 @@ between 0 and 1 (inclusive), or a percentage between `0%` and `100%`
Returns the hue of `$color` as a number between `0deg` and `255deg`.
See also:
* [`red()`](#red) for getting a color's red channel.
* [`green()`](#green) for getting a color's green channel.
* [`blue()`](#blue) for getting a color's blue channel.
@ -494,6 +502,7 @@ before, use [`scale-color()`](#scale-color) instead.
Returns the HSL lightness of `$color` as a number between `0%` and `100%`.
See also:
* [`red()`](#red) for getting a color's red channel.
* [`green()`](#green) for getting a color's green channel.
* [`blue()`](#blue) for getting a color's blue channel.
@ -579,6 +588,7 @@ before, use [`scale-color()`](#scale-color) instead.
Returns the red channel of `$color` as a number between 0 and 255.
See also:
* [`green()`](#green) for getting a color's green channel.
* [`blue()`](#blue) for getting a color's blue channel.
* [`hue()`](#hue) for getting a color's hue.
@ -696,6 +706,7 @@ it was before, use [`scale-color()`](#scale-color) instead.
Returns the HSL saturation of `$color` as a number between `0%` and `100%`.
See also:
* [`red()`](#red) for getting a color's red channel.
* [`green()`](#green) for getting a color's green channel.
* [`blue()`](#blue) for getting a color's blue channel.
@ -735,6 +746,7 @@ It's an error to specify an RGB property (`$red`, `$green`, and/or `$blue`) at
the same time as an HSL property (`$saturation`, and/or `$lightness`).
See also:
* [`adjust-color()`](#adjust-color) for changing a color's properties by fixed
amounts.
* [`change-color()`](#change-color) for setting a color's properties.