use external app to open logseq file
Inspired by vscode plugin open-in-external-app
English | 简体中文
Demo use vscode and Excalidraw Schema Editor plugin.
- Install plugin
- Fill in configuration information
- Restart Logseq to take effect
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
{
"menus": [
{
"menuName": "Excalidraw",
"pathRegExp": "\\[\\[([\\d\\D]+)]]",
"extensionName": "excalidraw",
"apps": [
{
"title": "vscode",
"openSchema": "vscode://file/{path}"
}
]
}
]
}