Skip to content

Commit

Permalink
Add zero-width spaces before #-style comments in code blocks
Browse files Browse the repository at this point in the history
Otherwise, Redcarpet interprets them as headers when generating the
table of contents. See vmg/redcarpet#664.
  • Loading branch information
Israel-4Ever authored and Natalie Weizenbaum committed Nov 30, 2018
1 parent 04f0d79 commit b95fe85
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions source/documentation/cli/dart-sass.html.md.erb
Expand Up @@ -45,13 +45,13 @@ The inputs are separated from the outputs with colons. It can also compile all
Sass files in a directory to CSS files with the same names in another directory.

```shellsession
# Compiles style.scss to style.css.
# Compiles style.scss to style.css.
$ sass style.scss:style.css

# Compiles light.scss and dark.scss to light.css and dark.css.
# Compiles light.scss and dark.scss to light.css and dark.css.
$ sass light.scss:light.css dark.scss:dark.css

# Compiles all Sass files in themes/ to CSS files in public/css/.
# Compiles all Sass files in themes/ to CSS files in public/css/.
$ sass themes:public/css
```

Expand Down Expand Up @@ -177,10 +177,10 @@ of URLs:
[`file:` URLs]: https://en.wikipedia.org/wiki/File_URI_scheme

```shellsession
# Generates a URL like "../sass/style.scss".
# Generates a URL like "../sass/style.scss".
$ sass --source-map-urls=relative sass/style.scss css/style.css

# Generates a URL like "file:///home/style-wiz/sassy-app/sass/style.scss".
# Generates a URL like "file:///home/style-wiz/sassy-app/sass/style.scss".
$ sass --source-map-urls=absolute sass/style.scss css/style.css
```

Expand Down Expand Up @@ -219,7 +219,7 @@ they or their dependencies change.
$ sass --watch themes:public/css
Compiled themes/light.scss to public/css/light.css.

# Then when you edit themes/dark.scss...
# Then when you edit themes/dark.scss...
Compiled themes/dark.scss to public/css/dark.css.
```

Expand All @@ -235,7 +235,7 @@ system doesn't work.
$ sass --watch --poll themes:public/css
Compiled themes/light.scss to public/css/light.css.

# Then when you edit themes/dark.scss...
# Then when you edit themes/dark.scss...
Compiled themes/dark.scss to public/css/dark.css.
```

Expand Down
12 changes: 6 additions & 6 deletions source/documentation/cli/ruby-sass.html.md.erb
Expand Up @@ -211,7 +211,7 @@ $ sass --watch themes:public/css
write public/css/light.css
write public/css/light.css.map

# Then when you edit themes/dark.scss...
# Then when you edit themes/dark.scss...
write public/css/dark.css
write public/css/dark.css.map
```
Expand All @@ -229,7 +229,7 @@ $ sass --watch --poll themes:public/css
write public/css/light.css
write public/css/light.css.map

# Then when you edit themes/dark.scss...
# Then when you edit themes/dark.scss...
write public/css/dark.css
write public/css/dark.css.map
```
Expand Down Expand Up @@ -309,16 +309,16 @@ your Sass files in browsers. See instructions for using source maps in
[`file:` URLs]: https://en.wikipedia.org/wiki/File_URI_scheme

```shellsession
# Generates a URL like "../sass/style.scss".
# Generates a URL like "../sass/style.scss".
$ sass --sourcemap=auto sass/style.scss css/style.css

# Generates a URL like "file:///home/style-wiz/sassy-app/sass/style.scss".
# Generates a URL like "file:///home/style-wiz/sassy-app/sass/style.scss".
$ sass --sourcemap=file sass/style.scss css/style.css

# Includes the full text of sass/style.scss in the source map.
# Includes the full text of sass/style.scss in the source map.
$ sass --sourcemap=inline sass/style.scss css/style.css

# Doesn't generate a source map.
# Doesn't generate a source map.
$ sass --sourcemap=none sass/style.scss css/style.css
```

Expand Down

0 comments on commit b95fe85

Please sign in to comment.