allow the `el` option to accept an `HTMLElement` instance
This aligns it with what the docs were already saying erroneously, plus this is useful in cases when people have refs to an element already (embedding Docsify in a custom element shadow root, or in a React component that has a ref to the target element, etc).
J
Joe Pea committed
00a87311b0fd457856c8475b8556a4a6b7d969f8
Parent: c90c6a4