mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
ccafa8d230
commit
c3008fd85a
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue