{"action":"created","issue":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4072","repository_url":"https://api.github.com/repos/rtfd/readthedocs.org","labels_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4072/labels{/name}","comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4072/comments","events_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4072/events","html_url":"https://github.com/rtfd/readthedocs.org/issues/4072","id":321518712,"number":4072,"title":"Code formatting works locally but not on ReadTheDocs.org","user":{"login":"amit1rrr","id":1350490,"avatar_url":"https://avatars0.githubusercontent.com/u/1350490?v=4","gravatar_id":"","url":"https://api.github.com/users/amit1rrr","html_url":"https://github.com/amit1rrr","followers_url":"https://api.github.com/users/amit1rrr/followers","following_url":"https://api.github.com/users/amit1rrr/following{/other_user}","gists_url":"https://api.github.com/users/amit1rrr/gists{/gist_id}","starred_url":"https://api.github.com/users/amit1rrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amit1rrr/subscriptions","organizations_url":"https://api.github.com/users/amit1rrr/orgs","repos_url":"https://api.github.com/users/amit1rrr/repos","events_url":"https://api.github.com/users/amit1rrr/events{/privacy}","received_events_url":"https://api.github.com/users/amit1rrr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T10:37:33Z","updated_at":"2018-05-09T12:46:11Z","closed_at":null,"author_association":"NONE","body":"## Details\r\n\r\n* Read the Docs project URL: docs.nurtch.com\r\n* Build URL (if applicable): \r\n* Read the Docs username (if applicable): amit.juschill@gmail.com\r\n\r\n## Expected Result\r\n\r\nI am expecting python code snippets to be syntax highlighted on ReadTheDocs.org.  It's working fine locally where I have readthedocs theme installed.  I am using code block. Here is the snippet example inside .rst file:\r\n\r\n```\r\n   .. code-block:: python\r\n\r\n      from rubix.aws.cloudwatch import plot_metric\r\n\r\n      # Load balancer P90 latency with deployment time markers\r\n      plot_metric(namespace='AWS/ELB',\r\n            metric_name='Latency',\r\n            dimensions={'LoadBalancerName': 'prod-xyz-lb'},\r\n            markers=deployment_times,\r\n            statistics='p90')\r\n\r\n      # Maximum CPU Utilization across EC2 for a specific time period\r\n      plot_metric(namespace='AWS/EC2',\r\n            metric_name='CPUUtilization',\r\n            start_time=datetime.datetime(2018, 04, 25),\r\n            end_time=datetime.datetime(2018, 04, 26)\r\n            statistics='Maximum')\r\n```\r\n\r\nScreenshots attached.\r\n\r\nLocal Build.\r\n<img width=\"738\" alt=\"local_build_output\" src=\"https://user-images.githubusercontent.com/1350490/39810567-0ff8b0ac-53a3-11e8-9d1e-20b18dd05d3f.png\">\r\n\r\nOn my hosted domain\r\n<img width=\"747\" alt=\"on-readthedocs-org\" src=\"https://user-images.githubusercontent.com/1350490/39810568-10241ddc-53a3-11e8-8e96-1fda54fd32cd.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/comments/387726550","html_url":"https://github.com/rtfd/readthedocs.org/issues/4072#issuecomment-387726550","issue_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4072","id":387726550,"user":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars0.githubusercontent.com/u/1760209?v=4","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T12:46:11Z","updated_at":"2018-05-09T12:46:11Z","author_association":"NONE","body":"The same problem http://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#before-pre-and-after-post-actions"}}
{"actor":{"display_login":"ivankravets"}}