Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement multi-line parsing #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mgreter
Copy link
Owner

@mgreter mgreter commented Sep 24, 2016

Alternative implementation for #30

input

#foo
  font-size: 0.3em
  font-family: Arial \
    , "Lucida Sans" \
    , sans-serif
  font-family: Arial \ // Arial
    , "Lucida Sans" \ /* Lucida */
    , sans-serif

#bar
  opacity: 0.5
  transition: opacity 0.2s ease,
    color 0.2s ease
  transition: opacity 0.2s ease, // comment
    color 0.2s ease
  transition: opacity 0.2s ease, /* comment */
    color 0.2s ease

output:

#foo {
  font-size: 0.3em;
  font-family: Arial
    , "Lucida Sans"
    , sans-serif;
  font-family: Arial   // Arial
    , "Lucida Sans"   /* Lucida */
    , sans-serif; }

#bar {
  opacity: 0.5;
  transition: opacity 0.2s ease,
    color 0.2s ease;
  transition: opacity 0.2s ease, // comment
    color 0.2s ease;
  transition: opacity 0.2s ease, /* comment */
    color 0.2s ease; }

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

Successfully merging this pull request may close these issues.

1 participant