chore: linter fix

This commit is contained in:
Lukas Bach 2025-03-03 18:25:09 +01:00
parent be6e813c39
commit 70771ebbe0

View file

@ -79,7 +79,11 @@ export class FenceEditContext {
}
const content = editorContent.slice(0, editorContent.length - 1);
const langKey = this.editor.getLine(this.start).slice(3).trim().split(" ")[0];
const langKey = this.editor
.getLine(this.start)
.slice(3)
.trim()
.split(" ")[0];
const language = getLanguage(langKey);
return { content, language };