-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c19dc37
commit 0688d07
Showing
5 changed files
with
12 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"id": "txt-as-md-obsidian", | ||
"id": "mdx-as-md-obsidian", | ||
"version": "0.0.1", | ||
"description": "Edit txt files as if they were markdown", | ||
"name": "txt as md", | ||
"description": "Edit mdx files as if they were markdown", | ||
"name": "mdx as md", | ||
"author": "death_au", | ||
"authorUrl": "https://github.com/deathau", | ||
"authorUrl": "https://github.com/mkozhukharenko", | ||
"isDesktopOnly": false, | ||
"minAppVersion": "0.10.12" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { Plugin } from 'obsidian'; | ||
|
||
export default class TxtAsMdPlugin extends Plugin { | ||
export default class MdxAsMdPlugin extends Plugin { | ||
|
||
async onload() { | ||
super.onload(); | ||
|
||
// register the view and extensions | ||
this.registerExtensions(["txt"], "markdown"); | ||
this.registerExtensions(["mdx"], "markdown"); | ||
} | ||
} |