Giter Club home page Giter Club logo

typora-plugin-releases's Introduction

Typora Community Plugin

English | 简体中文

A community plugin system for Typora. Inspired by Obsidian plugin system.

WARNING: Third-party plugins may have data or privacy risks.

To be on the safe side, install an open source plugin that can review the source code.

Packages

  • installer: Inject loader to Typora.
  • loader: Decide to load which core (production or development).
  • core: Setup an environment for extending Typora and managing plugins.
  • types: Types of Typora global variables.
  • esbuild-plugin: Build core or plugin with esbuild.

Compatible

Tested
Typora v1.5.x - v1.8.x v1.5.x - v1.6.x v1.4.8
OS Windows 10 Ubuntu 22 macOS 10.13

Features

  • Plugin Manage
    • Install/Uninstall/Update plugin
    • Enable/Disable plugin
  • New UI components
    • Ribbon
    • (Virtual) Multi File Tabs
  • Custom command hotkey
  • APIs to extend Typora
    • Markdown preprocessor
    • Markdown postprocessor
    • Markdown suggestion
  • I18n: follow system or manual configure, now support English and Chinese
  • Compatible with macOS
  • Documentation
    • User documentation
    • Developer documentation

Preview

Ribbon & Multi File Tabs Command Panel
Settings Modal Plugin Marketplace

Install

Script install

  1. Download Release typora-community-plugin.zip.
  2. Unzip it.
  3. Run install.ps1 (only for Windows) as Admin to install.
    If you want to install it for custom Typora installed directory, run install.ps1 -root <TyporaHome> as Admin.

Manual install

for Windows

  1. Download Release typora-community-plugin.zip.
  2. Unzip it.
  3. Copy files to %UserProfile%/.typora/community-plugins.
  4. Create a symlink. Run cmd as admin, and run command mklink /d %UserProfile%\\AppData\\Roaming\\Typora\\plugins %UserProfile%\\.typora\\community-plugins.
  5. Modify {TyporaHome}/resources/window.html. Open the file with encoding UTF-8, then replace text </body></html> at the end of file as <script src="typora://app/userData/plugins/loader.js" type="module"></script></body></html>.

for Linux

  1. Download Release typora-community-plugin.zip.
  2. Unzip it.
  3. Copy files to ~/.config/Typora/plugins.
  4. Modify /usr/share/typora/resources/window.html. Open the file with encoding UTF-8, then replace text </body></html> at the end of file as <script src="typora://app/userData/plugins/loader.js" type="module"></script></body></html>.

for macOS

  1. Download Release typora-community-plugin.zip.
  2. Unzip it.
  3. Copy files to /Users/{UserName}/Library/Application%20Support/abnerworks.Typora/plugins.
  4. Right click Typora.app, then click menu item "Show Package Contents" to open the app inner folder. Modify Typora.app/Contents/Resources/TypeMark/index.html. Open the file with encoding UTF-8, then replace text </body> at the end of file as <script src="file:///Users/{UserName}/Library/Application%20Support/abnerworks.Typora/plugins/loader.js" type="module"></script></body>, and {UserName} need to be replaced with your current user name of macOS.

PS: After installation, Ribbon & Multi File Tabs will be shown by default. You can hide them in the Setting Modal.

Usage

Hotkeys

Hotkey Function
F1 Open Command Panel
Ctrl+. Open Settings Modal

Uninstall

See How to uninstall

Contributing

Welcome to create pull requests.

Support

If you have any problem or suggestion please open an issue here.

typora-plugin-releases's People

Contributors

plylrnsdy avatar

Watchers

 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.