diff --git a/app/components/note/EditorTheme.ts b/app/components/note/EditorTheme.ts
deleted file mode 100644
index a0f3687..0000000
--- a/app/components/note/EditorTheme.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { createTheme } from '@uiw/codemirror-themes'
-
-export const editorTheme = createTheme({
- theme: 'dark',
- settings: {
- background: '#080f11',
- foreground: '#c8cacb',
- caret: '#E7E7E8',
- selection: '#5B5F61',
- selectionMatch: '#5B5F61',
- gutterBackground: '#141B1D',
- gutterForeground: '#7e8385',
- gutterBorder: '#1C2225',
- lineHighlight: '#1c2225',
- },
- styles: [],
-})
diff --git a/app/components/note/NoteForm.tsx b/app/components/note/NoteForm.tsx
index 876f935..2b743c7 100644
--- a/app/components/note/NoteForm.tsx
+++ b/app/components/note/NoteForm.tsx
@@ -8,7 +8,7 @@
import { Spinner } from '@oxide/design-system'
import { Asciidoc, prepareDocument } from '@oxide/react-asciidoc'
import * as Dropdown from '@radix-ui/react-dropdown-menu'
-import { useFetcher, useLoaderData } from '@remix-run/react'
+import { useFetcher } from '@remix-run/react'
import dayjs from 'dayjs'
import { useCallback, useEffect, useMemo, useState } from 'react'
@@ -118,10 +118,6 @@ export const NoteForm = ({
return prepareDocument(
ad.load(body, {
standalone: true,
- sourcemap: true,
- attributes: {
- sectnums: false,
- },
}),
)
}, [body])
@@ -191,7 +187,7 @@ export const NoteForm = ({
width: `calc(${100 - leftPaneWidth}% - 2px)`,
}}
>
-