We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89f5bd5 commit 3c72c75Copy full SHA for 3c72c75
src/main.ts
@@ -1,12 +1,12 @@
1
import { Editor, MarkdownView, Plugin } from 'obsidian'
2
import { MDXPreviewState, MDX_PREVIEW, mdxPreview } from './mdxPreview'
3
4
-export default class ObsidianKetcher extends Plugin {
+export default class ObsidianMDX extends Plugin {
5
async onload() {
6
this.registerView(MDX_PREVIEW, (leaf) => new mdxPreview(leaf))
7
8
this.addCommand({
9
- id: 'mdx-preview',
+ id: 'preview',
10
name: 'Preview',
11
editorCheckCallback: (
12
checking: boolean,
src/mdxPreview.tsx
@@ -1,4 +1,4 @@
-import { ItemView, TextFileView, ViewStateResult } from 'obsidian'
+import { ItemView, ViewStateResult } from 'obsidian'
import React from 'react'
import * as runtime from 'react/jsx-runtime'
// @ts-ignore
0 commit comments