Skip to content

Button isn't aesthetically consistent; breaks when used in Wikis #1

Description

@tgg-w-ryan

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions