forked from deathau/txt-as-md-obsidian
-
Notifications
You must be signed in to change notification settings - Fork 5
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
44141c2
commit 3ed564b
Showing
5 changed files
with
13 additions
and
17 deletions.
There are no files selected for viewing
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": "qmd-as-md-obsidian", | ||
"version": "0.0.1", | ||
"description": "Edit txt files as if they were markdown", | ||
"name": "txt as md", | ||
"author": "death_au", | ||
"authorUrl": "https://github.com/deathau", | ||
"description": "Edit qmd files as if they were markdown, plugin based on txt as md plugin by death_md", | ||
"name": "qmd as md", | ||
"author": "Daniel Borek", | ||
"authorUrl": "https://github.com/danieltomasz", | ||
"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 QmdAsMdPlugin extends Plugin { | ||
|
||
async onload() { | ||
super.onload(); | ||
|
||
// register the view and extensions | ||
this.registerExtensions(["txt"], "markdown"); | ||
this.registerExtensions(["qmd"], "markdown"); | ||
} | ||
} |