Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/editors/MarkdownEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export default function MarkdownEditor({
colors: {
"editor.background": backgroundColor,
"editor.foreground": textColor,
"editor.lineHighlightBorder": "#EDE8DC",
"editor.lineHighlightBorder": "#c5b58e60",
"editor.wordHighlightTextBackground": "#88888860",
"editor.selectionBackground": "#4A85BF80",
},
});
};
Expand All @@ -59,6 +61,16 @@ export default function MarkdownEditor({
);

return (
<>
<style>
{
`.editorwrapper .wordHighlightText {
border-radius: 3px;
scale: 1.05;
}`
}
</style>

<div className="editorwrapper">
<Suspense fallback={<div>Loading Editor...</div>}>
<MonacoEditor
Expand All @@ -71,5 +83,6 @@ export default function MarkdownEditor({
/>
</Suspense>
</div>
</>
);
}