{"action":"created","issue":{"url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/issues/33","labels_url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/issues/33/comments","events_url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/issues/33/events","html_url":"https://github.com/scottrippey/SmartFormat.NET/issues/33","id":43239239,"number":33,"title":"Partial Templates Support","user":{"login":"adeel41","id":13577,"avatar_url":"https://avatars.githubusercontent.com/u/13577?v=3","gravatar_id":"","url":"https://api.github.com/users/adeel41","html_url":"https://github.com/adeel41","followers_url":"https://api.github.com/users/adeel41/followers","following_url":"https://api.github.com/users/adeel41/following{/other_user}","gists_url":"https://api.github.com/users/adeel41/gists{/gist_id}","starred_url":"https://api.github.com/users/adeel41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeel41/subscriptions","organizations_url":"https://api.github.com/users/adeel41/orgs","repos_url":"https://api.github.com/users/adeel41/repos","events_url":"https://api.github.com/users/adeel41/events{/privacy}","received_events_url":"https://api.github.com/users/adeel41/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/labels/Feature%20Request","name":"Feature Request","color":"009800"},{"url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/labels/Open%20for%20Discussion","name":"Open for Discussion","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/milestones/8","html_url":"https://github.com/scottrippey/SmartFormat.NET/milestones/Template%20Formatter","labels_url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/milestones/8/labels","id":985523,"number":8,"title":"Template Formatter","description":null,"creator":{"login":"scottrippey","id":430608,"avatar_url":"https://avatars.githubusercontent.com/u/430608?v=3","gravatar_id":"","url":"https://api.github.com/users/scottrippey","html_url":"https://github.com/scottrippey","followers_url":"https://api.github.com/users/scottrippey/followers","following_url":"https://api.github.com/users/scottrippey/following{/other_user}","gists_url":"https://api.github.com/users/scottrippey/gists{/gist_id}","starred_url":"https://api.github.com/users/scottrippey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottrippey/subscriptions","organizations_url":"https://api.github.com/users/scottrippey/orgs","repos_url":"https://api.github.com/users/scottrippey/repos","events_url":"https://api.github.com/users/scottrippey/events{/privacy}","received_events_url":"https://api.github.com/users/scottrippey/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"closed","created_at":"2015-02-19T00:34:53Z","updated_at":"2015-03-04T23:44:12Z","due_on":null,"closed_at":"2015-03-04T23:44:12Z"},"comments":8,"created_at":"2014-09-19T13:40:57Z","updated_at":"2015-03-04T23:51:03Z","closed_at":"2015-03-04T23:43:57Z","body":"Hi,\r\n\r\nI think SmartFormat should support partial content so that you don't have to specify content within {} instead just supply the partial content id and then some where else define the partial content id with the content. For example, this is what you do currently\r\n\r\n<pre> {IsHuman: <blockquote>I am a human</blockquote>|<strong>I am an alien</strong>} </pre>\r\n\r\nbut I think it will be more readable if we can do this instead\r\n\r\n<pre>{IsHuman:  {@HumanContent} | {@AlienContent} }</pre>\r\n\r\nand then somewhere in the text you define these partial contents like\r\n\r\n<pre>\r\n{@ HumanContent}\r\nblockquote>I am a human</blockquote>\r\n{/@ HumanContent }\r\n\r\n{@ AlienContent}\r\n<strong>I am an alien</strong>\r\n{/@ AlienContent}\r\n\r\n</pre>\r\n\r\nThe reason is I don't want to mix my html in smart format. (may be it is just me). Syntax could be anything but that's what I thought of.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/issues/comments/77276894","html_url":"https://github.com/scottrippey/SmartFormat.NET/issues/33#issuecomment-77276894","issue_url":"https://api.github.com/repos/scottrippey/SmartFormat.NET/issues/33","id":77276894,"user":{"login":"adeel41","id":13577,"avatar_url":"https://avatars.githubusercontent.com/u/13577?v=3","gravatar_id":"","url":"https://api.github.com/users/adeel41","html_url":"https://github.com/adeel41","followers_url":"https://api.github.com/users/adeel41/followers","following_url":"https://api.github.com/users/adeel41/following{/other_user}","gists_url":"https://api.github.com/users/adeel41/gists{/gist_id}","starred_url":"https://api.github.com/users/adeel41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeel41/subscriptions","organizations_url":"https://api.github.com/users/adeel41/orgs","repos_url":"https://api.github.com/users/adeel41/repos","events_url":"https://api.github.com/users/adeel41/events{/privacy}","received_events_url":"https://api.github.com/users/adeel41/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T23:51:03Z","updated_at":"2015-03-04T23:51:03Z","body":":+1: "}}