Inserts a link to the source code
insert_source( repo_spec, name, collection = "posts", branch = "master", host = "https://github.com", text = "source code" )
repo_spec | Repository specification, formatted as "user/repo_name" |
---|---|
name | The folder in which the article is located |
collection | The collection the article belongs to (default = "posts") |
branch | Name of the branch to look at |
host | Host URL |
text | Text to display in the link |
A "shiny.tag" object