mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
Remove the Maps introduction paragraph
This code examples in this paragraph don't fit in the larger font size.
This commit is contained in:
parent
3d20c8f536
commit
d42fca01ff
@ -1,16 +1,16 @@
|
||||
---
|
||||
title: Maps
|
||||
table_of_contents: true
|
||||
introduction: >
|
||||
Maps in Sass hold pairs of keys and values, and make it easy to look up a
|
||||
value by its corresponding key. They're written `(<expression>: <expression>,
|
||||
<expression>: <expression>)`. The
|
||||
[expression](../syntax/structure#expressions) before the `:` is the key, and
|
||||
the expression after is the value associated with that key. The keys must be
|
||||
unique, but the values may be duplicated. Unlike [lists](lists), maps *must*
|
||||
be written with parentheses around them. A map with no pairs is written `()`.
|
||||
---
|
||||
|
||||
Maps in Sass hold pairs of keys and values, and make it easy to look up a value
|
||||
by its corresponding key. They're written `(<expression>: <expression>,
|
||||
<expression>: <expression>)`. The [expression](../syntax/structure#expressions)
|
||||
before the `:` is the key, and the expression after is the value associated with
|
||||
that key. The keys must be unique, but the values may be duplicated. Unlike
|
||||
[lists](lists), maps *must* be written with parentheses around them. A map with
|
||||
no pairs is written `()`.
|
||||
|
||||
<% fun_fact do %>
|
||||
Astute readers may note that an empty map, `()`, is written the same as an
|
||||
empty list. That's because it counts as both a map and a list. In fact, *all*
|
||||
|
Loading…
Reference in New Issue
Block a user