Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SCSS one line comments #208

Open
minimalweb opened this issue Mar 11, 2015 · 2 comments
Open

Support SCSS one line comments #208

minimalweb opened this issue Mar 11, 2015 · 2 comments

Comments

@minimalweb
Copy link

I'd like to be able to use this kind of comments in SCSS files:

// doc
// ---
// title: Alert
// name: alert
// category: basics
// ---
//
// ```html_example
// <div class = "alert"> Hello </ div>
// ```

This is related to #175 and #183

SASS style comments do work (even in SCSS files) but are invalid SCSS syntax, so this is not an option.

//doc
  ---
  title: Alert
  name: alert
  category: basics
  ---

  ```html_example
  <div class = "alert"> Hello </ div>
@jdcantrell
Copy link
Contributor

There is some difficulty with this. In order to parse these comments you have to find all lines in a row starting with // and then strip the // from each line. I'm going to leave this open for now. I'm open for PRs to do this.

@infinityrobot
Copy link

It looks like this may have been addressed in the solution proposed by @b2l in #235?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants