Hi! I love this extension, but have two minor suggestions. Right now the button is just text instead of a button -- this can be fixed by changing the class.
So just change line 28 to this:
button.className = 'btn btn-sm function-button';
And, the tables of contents don't work with Github wiki's because they are in a code block, which could be fixed by putting them in a block quote instead, and the bolding doesn't work in the title due to whitespace.
To fix this, change line 69 to:
var tocStart = '>**Table of contents**\n\n>';
Hope this is useful!
Hi! I love this extension, but have two minor suggestions. Right now the button is just text instead of a button -- this can be fixed by changing the class.
So just change line 28 to this:
button.className = 'btn btn-sm function-button';And, the tables of contents don't work with Github wiki's because they are in a code block, which could be fixed by putting them in a block quote instead, and the bolding doesn't work in the title due to whitespace.
To fix this, change line 69 to:
var tocStart = '>**Table of contents**\n\n>';Hope this is useful!