Giter Site home page Giter Site logo

peterzhu1992 / obsidian-extension-handler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from runarsf/obsidian-extension-handler

0.0 0.0 0.0 16 KB

An Obsidian plugin to allow editing (and creation) of custom extensions.

License: MIT License

JavaScript 15.47% TypeScript 84.53%

obsidian-extension-handler's Introduction

Obsidian Extension Handler

An Obsidian plugin to allow editing (and creation) of files with custom extensions.

⚠️ Adding ext/ft pairs: For setting-changes to take effect you have to restart Obsidian, this will be changed in the future.

Manual installation

ℹ️ Note: Plugin has not yet been added to the Obsidian community plugin list, and will have to be installed manually.

  • Copy main.js and manifest.json from this repo to your vault <VaultRoot>/.obsidian/plugins/obsidian-extension-handler/.
  • or clone this repository into the vault plugins directory git clone https://github.com/runarsf/obsidian-extension-handler <VaultRoot>/.obsidian/plugins/obsidian-extension-handler

Development

  • Clone this repo git clone [email protected]/runarsf/obsidian-extension-handler <VaultRoot>/.obsidian/plugins/obsidian-extension-handler.
  • npm i or yarn to install dependencies
  • npm run dev to start TypeScript compilation in watch mode (don't modify .js files).
  • Reload Obsidian to load the new version of your plugin.

API Documentation

See https://github.com/obsidianmd/obsidian-api

Releasing new releases

  • Update your manifest.json with your new version number, such as 1.0.1, and the minimum Obsidian version required for your latest release.
  • Update your versions.json file with "new-plugin-version": "minimum-obsidian-version" so older versions of Obsidian can download an older version of your plugin that's compatible.
  • Create new GitHub release using your new version number as the "Tag version". Use the exact version number, don't include a prefix v. See here for an example: https://github.com/obsidianmd/obsidian-sample-plugin/releases
  • Upload the files manifest.json, main.js, styles.css as binary attachments.
  • Publish the release.

Adding your plugin to the community plugin list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.