{"action":"opened","issue":{"url":"https://api.github.com/repos/dokufreaks/plugin-include/issues/190","repository_url":"https://api.github.com/repos/dokufreaks/plugin-include","labels_url":"https://api.github.com/repos/dokufreaks/plugin-include/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/dokufreaks/plugin-include/issues/190/comments","events_url":"https://api.github.com/repos/dokufreaks/plugin-include/issues/190/events","html_url":"https://github.com/dokufreaks/plugin-include/issues/190","id":147409243,"number":190,"title":"Add an option to inherit from headings color","user":{"login":"blacklord049","id":16919700,"avatar_url":"https://avatars.githubusercontent.com/u/16919700?v=3","gravatar_id":"","url":"https://api.github.com/users/blacklord049","html_url":"https://github.com/blacklord049","followers_url":"https://api.github.com/users/blacklord049/followers","following_url":"https://api.github.com/users/blacklord049/following{/other_user}","gists_url":"https://api.github.com/users/blacklord049/gists{/gist_id}","starred_url":"https://api.github.com/users/blacklord049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacklord049/subscriptions","organizations_url":"https://api.github.com/users/blacklord049/orgs","repos_url":"https://api.github.com/users/blacklord049/repos","events_url":"https://api.github.com/users/blacklord049/events{/privacy}","received_events_url":"https://api.github.com/users/blacklord049/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-11T12:18:30Z","updated_at":"2016-04-11T12:18:30Z","closed_at":null,"body":"In `header.php` I've added something like this :\r\n\r\n```\r\n            $headline = $renderer->_xmlEntities($headline);\r\n            $renderer->doc .= ' id=\"'.$hid.'\"><a style=\"color: inherit;\" href=\"' . $url . '\" title=\"' . $headline . '\">';\r\n            $renderer->doc .= $headline;\r\n            $renderer->doc .= '</a></h' . $lvl . '>' . DOKU_LF;\r\n```\r\n\r\nThe link style will take the color from the heading.\r\nWould be nice to extend this and add an option to chose if the link should be styled with dokuwiki defaults or inherit from its parent element...\r\n\r\nWhat do you think of it ?"}}