{"action":"created","issue":{"url":"https://api.github.com/repos/dahlia/libsass-python/issues/77","labels_url":"https://api.github.com/repos/dahlia/libsass-python/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/dahlia/libsass-python/issues/77/comments","events_url":"https://api.github.com/repos/dahlia/libsass-python/issues/77/events","html_url":"https://github.com/dahlia/libsass-python/issues/77","id":91315396,"number":77,"title":"Document how to compile Sass syntax from a string.","user":{"login":"dan-passaro","id":7405774,"avatar_url":"https://avatars.githubusercontent.com/u/7405774?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-passaro","html_url":"https://github.com/dan-passaro","followers_url":"https://api.github.com/users/dan-passaro/followers","following_url":"https://api.github.com/users/dan-passaro/following{/other_user}","gists_url":"https://api.github.com/users/dan-passaro/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-passaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-passaro/subscriptions","organizations_url":"https://api.github.com/users/dan-passaro/orgs","repos_url":"https://api.github.com/users/dan-passaro/repos","events_url":"https://api.github.com/users/dan-passaro/events{/privacy}","received_events_url":"https://api.github.com/users/dan-passaro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T17:34:48Z","updated_at":"2015-12-04T16:11:15Z","closed_at":"2015-12-04T16:11:15Z","body":"Maybe I'm just slow today but I am having a tough time puzzling this out...\r\n\r\n    >>> print open('file.sass').read()\r\n    body\r\n        font: sans-serif\r\n        p\r\n            font-weight: bold\r\n\r\n    >>> import sass\r\n    >>> print sass.compile(filename='file.sass')\r\n    body {\r\n      font: sans-serif; }\r\n      body p {\r\n        font-weight: bold; }\r\n\r\n    >>> print sass.compile(string=open('file.sass').read())\r\n    Traceback (most recent call last):\r\n    ...\r\n    CompileError: Error: invalid top-level expression\r\n            on line 1 of stdin\r\n    >> body\r\n       ^\r\n\r\nWhat am I doing wrong? I searched the \"References\" part of the docs for 'SCSS' and found nothing, I can't seem to figure out how to tell `sass.compile(string=...)` that I want Sass syntax and not SCSS."},"comment":{"url":"https://api.github.com/repos/dahlia/libsass-python/issues/comments/162007487","html_url":"https://github.com/dahlia/libsass-python/issues/77#issuecomment-162007487","issue_url":"https://api.github.com/repos/dahlia/libsass-python/issues/77","id":162007487,"user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T16:11:15Z","updated_at":"2015-12-04T16:11:15Z","body":"This should be supported now with `indented=True` kwarg passed thanks to #102 "}}