Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mkozhukharenko committed Apr 18, 2021
1 parent c19dc37 commit 0688d07
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# 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)
# mdx as md Obsidian plugin
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/mkozhukharenko/mdx-as-md-obsidian?style=for-the-badge&sort=semver)](https://github.com/mkozhukharenko/mdx-as-md-obsidian/releases/latest)
![GitHub All Releases](https://img.shields.io/github/downloads/mkozhukharenko/mdx-as-md-obsidian/total?style=for-the-badge)

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 mdx files as if they were markdown.

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

### Compatibility

Expand Down Expand Up @@ -59,14 +58,6 @@ Alternately, you can clone the repo directly into your plugins folder and once
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:

[![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)

# Version History
## 0.0.1
Initial release!
8 changes: 4 additions & 4 deletions manifest.json
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"
}
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": "mdx-as-md-obsidian",
"version": "0.0.1",
"description": "Edit txt files as if they were markdown",
"description": "Edit mdx 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 MdxAsMdPlugin extends Plugin {

async onload() {
super.onload();

// register the view and extensions
this.registerExtensions(["txt"], "markdown");
this.registerExtensions(["mdx"], "markdown");
}
}

0 comments on commit 0688d07

Please sign in to comment.