Giter Site home page Giter Site logo

gaoxin3220119 / obsidian-textfileview-plugin-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from korbinzhao/obsidian-textfileview-plugin-sample

0.0 0.0 0.0 74 KB

A sample of developing a custom Obsidian TextFileView plugin, which includes customizing TextFileView, file operation, auto-saving, unload handling, SASS, and other required code logic.

Home Page: https://korbinzhao.deno.dev

License: Mozilla Public License 2.0

JavaScript 27.79% TypeScript 67.78% CSS 2.31% SCSS 2.13%

obsidian-textfileview-plugin-sample's Introduction

obsidian-textfileview-plugin-sample

A sample of developing a custom Obsidian TextFileView plugin, which includes customizing TextFileView, file operation, auto-saving, unload handling, SASS, and other required code logic.

Development

Download the sample plugin

  1. Open a terminal window and change the project directory to the plugins directory. cd path/to/vault/.obsidian/plugins

  2. Clone the sample plugin using Git. git clone [email protected]:korbinzhao/obsidian-textfileview-plugin-sample.git

Build the plugin

  1. Navigate to the plugin directory. cd obsidian-textfileview-plugin-sample

  2. Install dependencies yarn

  3. Compile the source code yarn start

Enable the plugin

To load a plugin in Obsidian, you first need to enable it.

  1. In Obsidian, open Settings.
  2. In the side menu, select Community plugins.
  3. Select Turn on community plugins.
  4. Under Installed plugins, enable the Sample Plugin by selecting the toggle button next to it. You're now ready to use the plugin in Obsidian. Next, we'll make some changes to the plugin.

More

Visit Obsidian Develop Docs for more development guide.

Feed my cat

Like this sample, feed my cat. :point_right: Feed my cat

Buy me a coffee

Like this sample, buy me a coeffe. :point_right: Buy Me A Coffee

obsidian-textfileview-plugin-sample's People

Contributors

korbinzhao avatar

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.