{"action":"opened","issue":{"url":"https://api.github.com/repos/rstudio/learnr/issues/167","repository_url":"https://api.github.com/repos/rstudio/learnr","labels_url":"https://api.github.com/repos/rstudio/learnr/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/learnr/issues/167/comments","events_url":"https://api.github.com/repos/rstudio/learnr/issues/167/events","html_url":"https://github.com/rstudio/learnr/issues/167","id":333262943,"node_id":"MDU6SXNzdWUzMzMyNjI5NDM=","number":167,"title":"Links to sections","user":{"login":"petzi53","id":24394304,"node_id":"MDQ6VXNlcjI0Mzk0MzA0","avatar_url":"https://avatars2.githubusercontent.com/u/24394304?v=4","gravatar_id":"","url":"https://api.github.com/users/petzi53","html_url":"https://github.com/petzi53","followers_url":"https://api.github.com/users/petzi53/followers","following_url":"https://api.github.com/users/petzi53/following{/other_user}","gists_url":"https://api.github.com/users/petzi53/gists{/gist_id}","starred_url":"https://api.github.com/users/petzi53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petzi53/subscriptions","organizations_url":"https://api.github.com/users/petzi53/orgs","repos_url":"https://api.github.com/users/petzi53/repos","events_url":"https://api.github.com/users/petzi53/events{/privacy}","received_events_url":"https://api.github.com/users/petzi53/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-18T13:10:42Z","updated_at":"2018-06-18T13:10:42Z","closed_at":null,"author_association":"NONE","body":"A link to another section in a learnr tutorial works in shyinapps.io the normal R Markdown way:\r\n\r\n```\r\n[Go to exercise 1](#exercise-1)\r\n\r\n[Go to exercise 2](exercise2)\r\n\r\n## Exercise 1\r\n\r\n##  Exercise 2 {exercise2}\r\n```\r\n\r\nBut these links do not work locally, compiled by `markdown::run(\"path-to-the-filename\")`. Locally one has to add `section-` in front of the link e.g.\r\n\r\n```\r\n[Go to exercise 1](#section-exercise-1)\r\n\r\n[Go to exercise 2](#section-exercise2)\r\n```\r\n\r\nBut links with the prefix `section-` do not work in shinyapps.io. This is an inconsistent and unexpected behavior.\r\n"}}
{"actor":{"display_login":"petzi53"}}