8000 (docs) escaping · geddski/csstyle@5122176 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5122176

Browse files
committed
(docs) escaping
1 parent 152becd commit 5122176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Example:
7575
require('../csstyle')({optionSymbol: '\\-', partSymbol: '\\/', rootId: 'app'})
7676
```
7777

78-
**IMPORTANT NOTE** All characters besides `_` need to be escaped! However, if you are using dashes, only _the first one_ needs to be escaped. Use two backslashes to properly escape in SASS. For example to use a forward slash to separate parts, set $csstyle-part-symbol to `\\/`.
78+
**IMPORTANT NOTE** All characters besides `_` need to be escaped! However, if you are using dashes, only _the first one_ needs to be escaped. Use two backslashes to properly escape. For example to use a forward slash to separate parts, set $csstyle-part-symbol to `\\/`. The generated CSS classes will then be escaped with a single backslash.
7979

8080

8181
## FAQ

0 commit comments

Comments
 (0)
0