Skip to content

Commit

Permalink
chore: update attribute names to match hast spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-rev committed Sep 30, 2024
1 parent ad9b277 commit 0bbf6eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ const rehypeSemanticBlockquotes = (
/**
* Attribute name for the `<figure>` element
*/
figure: "data-blockquote-container",
figure: "dataBlockquoteContainer",
/**
* Attribute name for the `<blockquote>` element
*/
blockquote: "data-blockquote-content",
blockquote: "dataBlockquoteContent",
/**
* Attribute name for the `<figcaption>` element
*/
figcaption: "data-blockquote-credit",
figcaption: "dataBlockquoteCredit",
/**
* Syntax to use to trigger the plugin's effect
*/
Expand Down

0 comments on commit 0bbf6eb

Please sign in to comment.