From 0bbf6ebfeca30802a9aa57301926f3429901cc82 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+nikitarevenco@users.noreply.github.com> Date: Mon, 30 Sep 2024 20:37:27 +0100 Subject: [PATCH] chore: update attribute names to match hast spec --- index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 9a9fbde..fd3fd20 100644 --- a/index.ts +++ b/index.ts @@ -14,15 +14,15 @@ const rehypeSemanticBlockquotes = ( /** * Attribute name for the `
` element */ - figure: "data-blockquote-container", + figure: "dataBlockquoteContainer", /** * Attribute name for the `
` element */ - blockquote: "data-blockquote-content", + blockquote: "dataBlockquoteContent", /** * Attribute name for the `
` element */ - figcaption: "data-blockquote-credit", + figcaption: "dataBlockquoteCredit", /** * Syntax to use to trigger the plugin's effect */