{"action":"created","issue":{"url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx/issues/204","repository_url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx","labels_url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx/issues/204/comments","events_url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx/issues/204/events","html_url":"https://github.com/ChristopherBiscardi/gatsby-mdx/issues/204","id":389839172,"node_id":"MDU6SXNzdWUzODk4MzkxNzI=","number":204,"title":"gatsby-remark-autolink-headers options do not work","user":{"login":"deltaskelta","id":9424192,"node_id":"MDQ6VXNlcjk0MjQxOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/9424192?v=4","gravatar_id":"","url":"https://api.github.com/users/deltaskelta","html_url":"https://github.com/deltaskelta","followers_url":"https://api.github.com/users/deltaskelta/followers","following_url":"https://api.github.com/users/deltaskelta/following{/other_user}","gists_url":"https://api.github.com/users/deltaskelta/gists{/gist_id}","starred_url":"https://api.github.com/users/deltaskelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltaskelta/subscriptions","organizations_url":"https://api.github.com/users/deltaskelta/orgs","repos_url":"https://api.github.com/users/deltaskelta/repos","events_url":"https://api.github.com/users/deltaskelta/events{/privacy}","received_events_url":"https://api.github.com/users/deltaskelta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T16:11:32Z","updated_at":"2018-12-13T13:23:06Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\n\r\nI can't seem to get any options from `gatsby-remark-autolink-headers` to work\r\n\r\nI saw this [comment](https://github.com/ChristopherBiscardi/gatsby-mdx/pull/68#issuecomment-416760776) here but I didn't know how to interpret it. Are they expected to not work as it stands now?\r\n\r\n\r\n\r\n**To Reproduce**\r\nA link to your [gatsby-mdx minimal repro](https://github.com/ChristopherBiscardi/gatsby-mdx-minimal-repro) and Steps to reproduce the behavior:\r\n1. run the `custom-remark-plugins` example \r\n2. add following options to the gatsby-config.js`\r\n\r\n```\r\n          {\r\n            resolve: \"gatsby-remark-autolink-headers\",\r\n            options: {\r\n              offsetY: `200`,\r\n              icon: `<svg aria-hidden=\"true\" height=\"20\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"20\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg>`\r\n            }\r\n          },\r\n\r\n```\r\n\r\n**Expected behavior**\r\n\r\noffset and icon should work as expected\r\n"},"comment":{"url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx/issues/comments/446966387","html_url":"https://github.com/ChristopherBiscardi/gatsby-mdx/issues/204#issuecomment-446966387","issue_url":"https://api.github.com/repos/ChristopherBiscardi/gatsby-mdx/issues/204","id":446966387,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njk2NjM4Nw==","user":{"login":"deltaskelta","id":9424192,"node_id":"MDQ6VXNlcjk0MjQxOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/9424192?v=4","gravatar_id":"","url":"https://api.github.com/users/deltaskelta","html_url":"https://github.com/deltaskelta","followers_url":"https://api.github.com/users/deltaskelta/followers","following_url":"https://api.github.com/users/deltaskelta/following{/other_user}","gists_url":"https://api.github.com/users/deltaskelta/gists{/gist_id}","starred_url":"https://api.github.com/users/deltaskelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltaskelta/subscriptions","organizations_url":"https://api.github.com/users/deltaskelta/orgs","repos_url":"https://api.github.com/users/deltaskelta/repos","events_url":"https://api.github.com/users/deltaskelta/events{/privacy}","received_events_url":"https://api.github.com/users/deltaskelta/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T13:23:06Z","updated_at":"2018-12-13T13:23:06Z","author_association":"NONE","body":"I thought about doing exactly this but I stopped because I wanted to keep all the code in one place and I couldn't figure out which slugger gatsby-mdx was getting the slug from. (I didn't want to get burned by the slug having different rules and generating different slugs)\r\n\r\nare you sure gatsby-mdx uses github slugger?"}}
{"actor":{"display_login":"deltaskelta"}}