Comments (4)
IIRC this was because SASS has its quirk of using /*
to open single-line comments as well as multi-line comments and at the time I didn't have the time to figure out how to make it behave properly, so this was the safe bet without breaking stuff really badly in the case that there were any /*
single-line ocmments
from docker.
Ahh I see, I've never used single line /*... */
syntax in SCSS so wouldn't have noticed if it was broken.
I'll try to take a look into this more and loop back.
from docker.
SASS does allow /*
on one line, however they don't really encourage it specifically. SASS Comment Reference.
The only thing I see special, is that they strip out the //
syntax and retain comments with /*
syntax when building the resulting CSS file.
I updated with the following and tested without any issues:
scss: {
extensions: [ 'scss' ],
comment: '//', multiLine: [ /\/\*\*?/, /\*\// ], jsDoc: true
},
and tested with the following SCSS code:
/* # Test file
* This is a test `SCSS` file
*/
body {
color: black; // This works
}
// Multi line comment,
// in single line format.
// SASS will _strip_ this.
p {
font-size: 14px;
}
/* Single line of **multiline** syntax */
blockquote {
text-decoration: italic;
}
The generated documentation skips over single line /*
syntax, which I think is alright. This also matches the behavior of the same syntax in the PHP docker documentation.
from docker.
Resolved by merging in referenced pull request.
from docker.
Related Issues (20)
- Unsightly `err` class
- Markdown support
- Create a global alias HOT 6
- Docker is not able to include extras with node v4.0.0
- Inline theme?
- Can't it parse less files?
- Line break in <pre><code> examples
- lists in jsdoc comments are nested
- Inline CSS and JS in generated html
- --css and --js flags broken HOT 2
- Is this project dead? HOT 3
- shebangRegex in version next more open as the os HOT 1
- yaml support in next version HOT 1
- PlantUML, Mermaid, Charts... support HOT 1
- Feature: {@link <target>} with auto resolve
- Links containing anchors HOT 4
- Unexpected Pygments Output in <v1.0.0 results in visible '----DIVIDER----' comments
- Update languages.js documentation
- dox 0.8.1 dependency vulnerability
- "Invalid Host Header" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.