{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/issues/190","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/issues/190/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/issues/190/events","html_url":"https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/190","id":256966679,"node_id":"MDU6SXNzdWUyNTY5NjY2Nzk=","number":190,"title":"Support imagesDir in plugin configuration","user":{"login":"ahus1","id":3957921,"node_id":"MDQ6VXNlcjM5NTc5MjE=","avatar_url":"https://avatars2.githubusercontent.com/u/3957921?v=4","gravatar_id":"","url":"https://api.github.com/users/ahus1","html_url":"https://github.com/ahus1","followers_url":"https://api.github.com/users/ahus1/followers","following_url":"https://api.github.com/users/ahus1/following{/other_user}","gists_url":"https://api.github.com/users/ahus1/gists{/gist_id}","starred_url":"https://api.github.com/users/ahus1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahus1/subscriptions","organizations_url":"https://api.github.com/users/ahus1/orgs","repos_url":"https://api.github.com/users/ahus1/repos","events_url":"https://api.github.com/users/ahus1/events{/privacy}","received_events_url":"https://api.github.com/users/ahus1/received_events","type":"User","site_admin":false},"labels":[{"id":49188748,"node_id":"MDU6TGFiZWw0OTE4ODc0OA==","url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":422207948,"node_id":"MDU6TGFiZWw0MjIyMDc5NDg=","url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/labels/help%20wanted","name":"help wanted","color":"fef2c0","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-12T08:53:43Z","updated_at":"2018-08-17T23:05:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"as reported on the pulgin's homepage (05.04.2017 03:08:28)\r\n\r\nI have a document's tree like src/main/asciidoc/images image1.png image2.png src/main/asciidoc/part1 part1.adoc src/main/asciidoc/part2 part2.adoc asciidoctor-maven-plugin has a settings \"imagesDir\" (this settings could'not be switched off and by default it is \"images\"), that will append imagesDir to all images path. each adoc file contains images So now i have a choise - will i see images in plugin's preview: i should set image's link as image::../images/image1.png[] either i will see images in generated file. image::image1.png[] Will be nice to have some plugin's settings like 'imagesDir', that will fix it"},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/issues/comments/414008862","html_url":"https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/190#issuecomment-414008862","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor-intellij-plugin/issues/190","id":414008862,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDAwODg2Mg==","user":{"login":"mramendi","id":33361640,"node_id":"MDQ6VXNlcjMzMzYxNjQw","avatar_url":"https://avatars2.githubusercontent.com/u/33361640?v=4","gravatar_id":"","url":"https://api.github.com/users/mramendi","html_url":"https://github.com/mramendi","followers_url":"https://api.github.com/users/mramendi/followers","following_url":"https://api.github.com/users/mramendi/following{/other_user}","gists_url":"https://api.github.com/users/mramendi/gists{/gist_id}","starred_url":"https://api.github.com/users/mramendi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mramendi/subscriptions","organizations_url":"https://api.github.com/users/mramendi/orgs","repos_url":"https://api.github.com/users/mramendi/repos","events_url":"https://api.github.com/users/mramendi/events{/privacy}","received_events_url":"https://api.github.com/users/mramendi/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T23:05:34Z","updated_at":"2018-08-17T23:05:34Z","author_association":"NONE","body":"While @mojavelinux comment , or at least asciidoctor/asciidoctor#566 , seems to apply specifically to command-line asciidoctor runs, I would suggest something might be needed to make the need for includes less strong in the IntelliJ preview plugin.\r\n\r\nMy suggestion would be a generic one. Create a configuration setting for the plugin that would allow setting any asciidoc attribute for rendering. This icludes the imagesdir attribute."}}
{"actor":{"display_login":"mramendi"}}