Skip to content
dsh.fish
Bundle

dsh-markdown-table

Markdown 表格生成:把 JSON 数组/二维数组转换为 Markdown 表格

Source
uckkk
stars
1 stars
License
MIT
Updated
Updated 7 days ago

Readme

# dsh-markdown-table · Markdown 表格生成

把 JSON 数组 / 二维数组转换为 Markdown 表格。纯 Node 实现。

## 提供的工具

| 工具 | 作用 |
|---|---|
| `make_table` | JSON → Markdown 表格 |

## 安装

```bash
dsh plugin add dsh-markdown-table
```
安装后在 profile 的 `package.json` 的 `dsh.profile.bundles` 中加入 `"dsh-markdown-table"`。

## 用法示例

```
把这组数据整理成 Markdown 表格
→ 调用 make_table(data=[{name:"a",value:1},{name:"b",value:2}])
```

## 安装

```bash
dsh plugin add github:uckkk/dsh-markdown-table
```

> 安装即在本机运行第三方代码,请自行审阅源码。

## 安装

```bash
dsh plugin add github:uckkk/dsh-markdown-table
```

## 使用

安装后在会话中调用该插件注册的工具即可。

## 许可

MIT

> 安装即在本机运行第三方代码,请自行审阅源码。

Install

dsh plugin --profile web add github:uckkk/dsh-markdown-table

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source