Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Apr 10, 2024
1 parent ccafa8d commit c3008fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/markdown/remark/src/shiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ export async function createShikiHighlighter({

// Replace "shiki" class naming with "astro-code"
node.properties.class = classValue.replace(/shiki/g, 'astro-code');

// Add data-language attribute
node.properties.dataLanguage = lang;

// Handle code wrapping
// if wrap=null, do nothing.
if (wrap === false) {
Expand Down

0 comments on commit c3008fd

Please sign in to comment.