Skip to content

Make more modular, support passing hljs to initializer (i.e. prevent needing to bind hljs to window) #77

Open
@whatl3y

Description

@whatl3y

Is your feature request related to a problem? Please describe.
No, simply want to support a more modular approach to initializing this package to prevent having to pollute the window with hljs.

Describe the solution you'd like
To be able to pass hljs as a variable in an initializer function/factory/etc. for highlightjs-line-numbers.js to prevent having to bind hljs to the window first.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions