Skip to content

Commit

Permalink
revert format
Browse files Browse the repository at this point in the history
  • Loading branch information
Seven-Y-Q-Guo committed Feb 15, 2024
1 parent 49ea34a commit 74aef89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shaku-code-annotate-shiki/src/codeToShakuHtml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface CodeToShakuHtmlOptions {
markdownToHtmlAndSanitize?: (md: string) => string;
}

export let codeToShakuHtml = function(
export let codeToShakuHtml = function (
this: ShakuHighlighter,
{
code,
Expand Down Expand Up @@ -329,8 +329,8 @@ export let codeToShakuHtml = function(
diff === "+"
? " diff diff-insert"
: diff === "-"
? " diff diff-delete"
: "";
? " diff diff-delete"
: "";

const prefix = `<div class="line${highlightClass}${dimClass}${diffClass}">`;
html += prefix;
Expand Down

0 comments on commit 74aef89

Please sign in to comment.