Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haydenull/logseq-plugin-browser

A browser plugin for logseq
https://github.com/haydenull/logseq-plugin-browser

logseq logseq-plugin

Last synced: 3 months ago
JSON representation

A browser plugin for logseq

Awesome Lists containing this project

README

        

# logseq-plugin-browser
> 支持打开网页的 logseq 插件

[English](./README.md) | 简体中文

## 示例
![demo](./demo.gif)

## 使用方法
1. 安装插件
2. 呼出控制台, 输入 `browser`
3. 选择 `Modify logseq-plugin-browser config`
3. 填写配置信息
3. 重启 Logseq 使配置生效

打开控制台快捷键:
- Windows: `Ctrl + Shift + P`
- Mac: `Cmd + Shift + P`

## 插件配置

buttons: 显示在顶部的按钮
- key: 按钮的唯一标识
- icon: 按钮的图标
- url(配置文件中为href): 网页地址
- style: 网页容器 iframe 的样式

使用[tablericons](https://tablericons.com/)图标库

例如 book 图标, icon 参数值为 `ti-book`

## 配置示例

```json
{
"buttons": [
{
"key": "dida",
"icon": "ti-checkbox",
"href": "https://dida365.com/webapp/#q/all/today"
},
{
"key": "translate",
"icon": "ti-language",
"href": "https://translate.google.com",
"style": {
"width": "400px",
"right": "20px",
"top": "50px",
"left": "auto",
"bottom": "auto"
}
}
]
}
```