feat: allow ignoring node in header

pull/3331/head
Enzo Innocenzi 2 years ago committed by GitHub
parent 006fd80095
commit 8143e9e1b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,8 @@ function serializeHeader(h: Element): string {
if (node.nodeType === 1) {
if (
(node as Element).classList.contains('VPBadge') ||
(node as Element).classList.contains('header-anchor')
(node as Element).classList.contains('header-anchor') ||
(node as Element).classList.contains('ignore-header')
) {
continue
}

Loading…
Cancel
Save