{"action":"created","issue":{"url":"https://api.github.com/repos/middleman/middleman/issues/448","labels_url":"https://api.github.com/repos/middleman/middleman/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/middleman/middleman/issues/448/comments","events_url":"https://api.github.com/repos/middleman/middleman/issues/448/events","html_url":"https://github.com/middleman/middleman/issues/448","id":4748600,"number":448,"title":"Best way to use markdown + erb/liquid + extensions?","user":{"login":"stevenringo","id":27856,"avatar_url":"https://avatars.githubusercontent.com/u/27856?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenringo","html_url":"https://github.com/stevenringo","followers_url":"https://api.github.com/users/stevenringo/followers","following_url":"https://api.github.com/users/stevenringo/following{/other_user}","gists_url":"https://api.github.com/users/stevenringo/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenringo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenringo/subscriptions","organizations_url":"https://api.github.com/users/stevenringo/orgs","repos_url":"https://api.github.com/users/stevenringo/repos","events_url":"https://api.github.com/users/stevenringo/events{/privacy}","received_events_url":"https://api.github.com/users/stevenringo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-05-25T06:40:43Z","updated_at":"2015-07-13T14:16:34Z","closed_at":"2012-05-26T20:44:59Z","body":"I was initially going to use Octopress but in the end much preferred Middleman's approach and flexibility.\n\nThe thing I think that makes Octopress so appealing is its ability to use liquid templates inside markdown and therefore being able to use macros/plugins to do fancy tricks to the output, e.g.\n\n```\n---\nlayout: page\ntitle: \"Codeblock\"\ndate: 2011-07-22 09:13\nsidebar: false\nfooter: false\n---\n\nWith this plugin you can write blocks of code directly in your posts and optionally add titles and links.\n\n#### Syntax\n\n    {{ \"{% codeblock [title] [lang:language] [url] [link text]\" }} %}\n    code snippet\n    {{ \"{% endcodeblock\" }} %}\n\n#### Example 1\n\n    {{ \"{% codeblock\" }} %}\n    Awesome code snippet\n    {{ \"{% endcodeblock\" }} %}\n\n{% codeblock %}\nAwesome code snippet\n{% endcodeblock %}\n```\n\nI don't really care too much for liquid, but would like to find a way to run MM extensions or even partials from within pages that are written in Markdown.\n\nAny ideas on how to achieve this will be most welcome. Thanks again for the awesomeness that is MM!\n\n"},"comment":{"url":"https://api.github.com/repos/middleman/middleman/issues/comments/120942257","html_url":"https://github.com/middleman/middleman/issues/448#issuecomment-120942257","issue_url":"https://api.github.com/repos/middleman/middleman/issues/448","id":120942257,"user":{"login":"tdreyno","id":233,"avatar_url":"https://avatars.githubusercontent.com/u/233?v=3","gravatar_id":"","url":"https://api.github.com/users/tdreyno","html_url":"https://github.com/tdreyno","followers_url":"https://api.github.com/users/tdreyno/followers","following_url":"https://api.github.com/users/tdreyno/following{/other_user}","gists_url":"https://api.github.com/users/tdreyno/gists{/gist_id}","starred_url":"https://api.github.com/users/tdreyno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdreyno/subscriptions","organizations_url":"https://api.github.com/users/tdreyno/orgs","repos_url":"https://api.github.com/users/tdreyno/repos","events_url":"https://api.github.com/users/tdreyno/events{/privacy}","received_events_url":"https://api.github.com/users/tdreyno/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T14:16:34Z","updated_at":"2015-07-13T14:16:34Z","body":"You mean you want `doc.html.md` to be processed as `doc.html.md.erb`? No, I'm afraid not. We believe being explicit is always better than magic."}}