{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2192","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2192/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2192/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2192/events","html_url":"https://github.com/spyder-ide/spyder/issues/2192","id":58567387,"number":2192,"title":"Enhancement: \"Run\" markdown files and display the result in the object inspector ","user":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Object-Inspector","name":"Object-Inspector","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-02-23T10:23:38Z","updated_at":"2015-02-25T21:31:57Z","closed_at":null,"body":"It would be great to generalize the functionality in the Run menu for \"Running/Parsing\" source files besides Python scripts.\r\n\r\nI am finding myself more often than not, wanting to see how something written in markdown looks rendered, and since the Object Inspector seems to already provide for this functionality, we could make the \"Run\" behaviour/command more general so that for specific extensions, a behavior could be set. \r\n\r\nFor this sort of files and rst also, the Run (F5) would also be available, but instead of opening a python console it would render the result in the Object Inspector."},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/76064727","html_url":"https://github.com/spyder-ide/spyder/issues/2192#issuecomment-76064727","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2192","id":76064727,"user":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T21:31:57Z","updated_at":"2015-02-25T21:31:57Z","body":"I think we just need to provide a way to extend plugins by name. For example, we allow other plugins to provide a \"run\" target tied to the run plugin.   We collect the extensions at startup, then if a file is opened, we check our list of registered extensions.  If one is available, the Run option becomes available, and the registered function is called when the user presses F5."}}