How do I set the title
RickCogley opened this issue · comments
Hi - thank you for this plugin. Could you please tell me, how do I set the title of the "Edit on github" link? I'm loading like this and it's working:
...
plugins: [
EditOnGithubPlugin.create(
'https://github.com/RickCogley/myrepo/blob/master/docs/'
),
...
...but I noticed in your readme that I can set the title, but, I'm a newb when it comes to js, so, I thought I would ask, if you don't mind.
Thanks in advance.
@RickCogley the third parameter of function EditOnGithubPlugin.create
is the title.
plugins: [
EditOnGithubPlugin.create(
'https://github.com/RickCogley/myrepo/blob/master/docs/',
undefined, // pass undefined if you don't care this parameter
'your title'
),
TIL about undefined. It works! Thanks!