Skip to content

Commit

Permalink
feat: modified txt to qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltomasz committed Oct 16, 2022
1 parent 44141c2 commit 3ed564b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
Binary file added .DS_Store
Binary file not shown.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# txt as md Obsidian plugin
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/deathau/txt-as-md-obsidian?style=for-the-badge&sort=semver)](https://github.com/deathau/txt-as-md-obsidian/releases/latest)
![GitHub All Releases](https://img.shields.io/github/downloads/deathau/txt-as-md-obsidian/total?style=for-the-badge)
# qmd as md Obsidian plugin

A plugin for [Obsidian](https://obsidian.md) which allows editing of txt files as if they were markdown.
A plugin for [Obsidian](https://obsidian.md) which allows editing of qmd files as if they were markdown.

![Screenshot](https://github.com/deathau/txt-as-md-obsidian/raw/main/screenshot.png)

### Compatibility

Expand Down Expand Up @@ -60,9 +57,8 @@ dependencies are installed use `npm run dev` to start compilation in watch mode.
You may have to reload obsidian (`ctrl+R`) to see changes.

## Pricing
Huh? This is an open-source plugin I made *for fun*. It's completely free.
However, if you absolutely *have* to send me money because you like it that
much, feel free to throw some coins in my hat via the following:

Plugin is completely free, but you might contribute to the author of the orginal plugin via the following:

[![GitHub Sponsors](https://img.shields.io/github/sponsors/deathau?style=social)](https://github.com/sponsors/deathau)
[![Paypal](https://img.shields.io/badge/paypal-deathau-yellow?style=social&logo=paypal)](https://paypal.me/deathau)
Expand Down
10 changes: 5 additions & 5 deletions manifest.json
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"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "txt-as-md-obsidian",
"name": "qmd-as-md-obsidian",
"version": "0.0.1",
"description": "Edit txt files as if they were markdown",
"description": "Edit qmd files as if they were markdown",
"main": "main.js",
"scripts": {
"install-deps": "npm install",
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
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");
}
}

0 comments on commit 3ed564b

Please sign in to comment.