mirror of
https://github.com/danog/sass-site.git
synced 2025-01-10 06:58:43 +01:00
1532553ef2
* main: review Use JSON args for compatibility tag typo typo Use kwargs for {% compatibility %} tag. clearer example line breaks add missing @use silence sass warnings Do not autoformat md files combine more markdown blocks indentation for remainder of docs indentation for syntax docs indentation for style-rules docs indentation for cli docs indentation for breaking-changes Strip indentation from more paired shortcodes. Try out standard indentation
12 lines
399 B
Plaintext
12 lines
399 B
Plaintext
{% codeExample 'map-get', false %}
|
|
$font-weights: ("regular": 400, "medium": 500, "bold": 700);
|
|
|
|
@debug map.get($font-weights, "medium"); // 500
|
|
@debug map.get($font-weights, "extra-bold"); // null
|
|
===
|
|
$font-weights: ("regular": 400, "medium": 500, "bold": 700)
|
|
|
|
@debug map.get($font-weights, "medium") // 500
|
|
@debug map.get($font-weights, "extra-bold") // null
|
|
{% endcodeExample %}
|