Skip to content

haydenull/logseq-plugin-open-in-external-app

Repository files navigation

logseq-plugin-open-in-external-app

use external app to open logseq file

latest release version License

Inspired by vscode plugin open-in-external-app

English | 简体中文

Demo

demo

Demo use vscode and Excalidraw Schema Editor plugin.

Usage

  1. Install plugin
  2. Fill in configuration information
  3. Restart Logseq to take effect

Plugin Configuration

menus: Registered menus

  • menuName: Menu name
  • pathRegExp: Get file path from block content regexp
  • extensionName: Open file extension name
  • apps:
    • title: App name
    • openSchema: Call app schema, {path} will be replaced by file path

Configuration Example

{
  "menus": [
    {
      "menuName": "Excalidraw",
      "pathRegExp": "\\[\\[([\\d\\D]+)]]",
      "extensionName": "excalidraw",
      "apps": [
        {
          "title": "vscode",
          "openSchema": "vscode://file/{path}"
        }
      ]
    }
  ]
}