{"action":"created","issue":{"url":"https://api.github.com/repos/careteditor/caret/issues/375","repository_url":"https://api.github.com/repos/careteditor/caret","labels_url":"https://api.github.com/repos/careteditor/caret/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/careteditor/caret/issues/375/comments","events_url":"https://api.github.com/repos/careteditor/caret/issues/375/events","html_url":"https://github.com/careteditor/caret/issues/375","id":229543104,"number":375,"title":"Alignment options for images, tables, headings, etc...","user":{"login":"kochie","id":10809884,"avatar_url":"https://avatars1.githubusercontent.com/u/10809884?v=3","gravatar_id":"","url":"https://api.github.com/users/kochie","html_url":"https://github.com/kochie","followers_url":"https://api.github.com/users/kochie/followers","following_url":"https://api.github.com/users/kochie/following{/other_user}","gists_url":"https://api.github.com/users/kochie/gists{/gist_id}","starred_url":"https://api.github.com/users/kochie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kochie/subscriptions","organizations_url":"https://api.github.com/users/kochie/orgs","repos_url":"https://api.github.com/users/kochie/repos","events_url":"https://api.github.com/users/kochie/events{/privacy}","received_events_url":"https://api.github.com/users/kochie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-18T03:12:42Z","updated_at":"2017-05-19T05:45:07Z","closed_at":null,"body":"It would be nice to somehow indicate that certain parts or elements of the documents should be rendered with different alignments.\r\n\r\n**Example**\r\n- Being able to center images, tables, and headings in exported PDFs and previews.\r\n\r\nWhen there are many images of different lengths it becomes an eyesore quite quickly.\r\n![image](https://cloud.githubusercontent.com/assets/10809884/26184917/f05cb5fe-3bca-11e7-8bf6-8f52e8163a62.png)\r\n\r\nI'm not sure if it would be as simple as creating a new preview theme, or if it could be set in the settings somewhere but it would be a great feature. If it can be done with a new theme, perhaps it could be shipped as a default?\r\n"},"comment":{"url":"https://api.github.com/repos/careteditor/caret/issues/comments/302614280","html_url":"https://github.com/careteditor/caret/issues/375#issuecomment-302614280","issue_url":"https://api.github.com/repos/careteditor/caret/issues/375","id":302614280,"user":{"login":"BsNoSi","id":2784683,"avatar_url":"https://avatars1.githubusercontent.com/u/2784683?v=3","gravatar_id":"","url":"https://api.github.com/users/BsNoSi","html_url":"https://github.com/BsNoSi","followers_url":"https://api.github.com/users/BsNoSi/followers","following_url":"https://api.github.com/users/BsNoSi/following{/other_user}","gists_url":"https://api.github.com/users/BsNoSi/gists{/gist_id}","starred_url":"https://api.github.com/users/BsNoSi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BsNoSi/subscriptions","organizations_url":"https://api.github.com/users/BsNoSi/orgs","repos_url":"https://api.github.com/users/BsNoSi/repos","events_url":"https://api.github.com/users/BsNoSi/events{/privacy}","received_events_url":"https://api.github.com/users/BsNoSi/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T05:45:07Z","updated_at":"2017-05-19T05:45:07Z","body":"I am quite new to Caret but as far as I can see, it supports html code in the text. So you can create stylesheets ie. `.left`, `.right` (a.s.o.) and use it:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2784683/26234677/9dd79f32-3c66-11e7-8298-5b91b58ae875.png)\r\n\r\nFor that, you have to modify the preview theme regarding to your needs (add your required css) and it will work.\r\n\r\nShipping a \"default\" is somehow difficult, because there is no standard for that available. if so, there would be no need to define the css by yourself."}}
{"actor":{"display_login":"BsNoSi"}}