Skip to content

Commit

Permalink
Add import math lib example code
Browse files Browse the repository at this point in the history
I never find how i need to import modules in scss anywhere in the docs

So propose we add it at the top of docs page

Maybe this can be added to other module pages as well in separate PR's
  • Loading branch information
bertyhell authored Sep 12, 2023
1 parent 983e0a5 commit 99f4152
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/documentation/modules/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ title: sass:math

{% render 'doc_snippets/built-in-module-status' %}

## Import math module

{% codeExample 'import math', false %}
@use "sass:math";
{% endcodeExample %}

## Variables

{% function 'math.$e' %}
Expand Down

0 comments on commit 99f4152

Please sign in to comment.