{"action":"closed","issue":{"url":"https://api.github.com/repos/wallarm/bundlebars/issues/5","labels_url":"https://api.github.com/repos/wallarm/bundlebars/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/wallarm/bundlebars/issues/5/comments","events_url":"https://api.github.com/repos/wallarm/bundlebars/issues/5/events","html_url":"https://github.com/wallarm/bundlebars/issues/5","id":59429911,"number":5,"title":"Can you compile from an html string?","user":{"login":"Shak-eah","id":4359715,"avatar_url":"https://avatars.githubusercontent.com/u/4359715?v=3","gravatar_id":"","url":"https://api.github.com/users/Shak-eah","html_url":"https://github.com/Shak-eah","followers_url":"https://api.github.com/users/Shak-eah/followers","following_url":"https://api.github.com/users/Shak-eah/following{/other_user}","gists_url":"https://api.github.com/users/Shak-eah/gists{/gist_id}","starred_url":"https://api.github.com/users/Shak-eah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shak-eah/subscriptions","organizations_url":"https://api.github.com/users/Shak-eah/orgs","repos_url":"https://api.github.com/users/Shak-eah/repos","events_url":"https://api.github.com/users/Shak-eah/events{/privacy}","received_events_url":"https://api.github.com/users/Shak-eah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T01:51:40Z","updated_at":"2015-03-02T11:33:22Z","closed_at":"2015-03-02T11:33:22Z","body":"I misunderstood bundlebars at first: I get that it can compile handlebars templates TO strings, but I wonder if it can also compile hbs templates FROM strings?\r\n\r\nSimply speaking,\r\n\r\n bb.compile ('filename.hbs', data) \r\nvs\r\nbb.compile ( \"< h1 >{{username}}< /h1 >\", data). \r\n\r\nI need to avoid writing new files and then reading from them, or reading from a file on the disk anyway. I want to be able to use BB's funtionality on a string passed in; is this possible at all?\r\n"}}