xcloud-ai721 downloadsCustomize table layout, column width, text wrapping, alignment, overflow, and sticky headers. Replaces hand-written CSS snippets.
[!NOTE] 中文说明 表格布局助手:Markdown 表格可视化美化插件,支持表头样式(首行 / 首列 / 颜色)与表格列宽拖拽调整,宽度自动记忆,重开文件不丢失;表格宽度默认自适应铺满页面、跟随窗口缩放。
Markdown 表格零手写 CSS:全局布局设置可视化配置、实时生效;每张表格的列宽可直接用鼠标拖动调整并自动持久化。
English description below for review purposes. / 以下为英文说明,用于过审。
Visual table styling for Markdown tables: header styles (first row / first column / color), drag-to-resize column widths with automatic per-table memory, adaptive fill that keeps tables full-width and responsive, and instant apply in both reading view and live preview — no hand-written CSS.
main.js、manifest.json、styles.css 三个文件.obsidian/plugins/table-layout-helper/From Obsidian Community Directory:
Manual Installation:
main.js, manifest.json, styles.css from the latest release<vault>/.obsidian/plugins/table-layout-helper/| 设置项 | 说明 | 默认值 |
|---|---|---|
| 首行作为表头 | 横向表头样式应用于首行 | 开 |
| 首列作为表头 | 纵向表头样式应用于首列,可与首行同开 | 关 |
| 表头颜色 | 表头文字颜色,留空跟随主题 | #ff4d00 |
| 首列宽度 | 像素值,留空自适应 | 200 |
| 表格布局 | fixed(推荐)/ auto | fixed |
| 表格宽度 | 100% / 像素值 | 100% |
| 垂直对齐 | top / middle / bottom | middle |
| 行高 | 单元格文本行高 | 1.3 |
| 最小列宽 | 拖拽下限 | 40 |
| 宽度模式 | 列宽应用方式:自适应铺开 / 固定像素 | 自适应铺开 |
| 命令 | 作用 |
|---|---|
| 切换表格布局助手开关 | 启用 / 禁用插件 |
| 重新加载表格样式 | 重载全局表格样式(设置 → 热键可自行绑定) |
| 清除本文件的表格列宽 | 清除当前文件所有表格的已保存列宽 |
main.js),无需编译;main.ts 为 TypeScript 参考<style> 应用,依靠选择器特异性覆盖主题(不使用 !important);仅自动适配列宽的临时测量阶段通过内联样式临时压制换行(覆盖 Obsidian 内部链接的断行设置),测量结束即还原data.json,不修改笔记内容;旧版含行号的 key 首次加载时自动迁移isDesktopOnly: false)MIT License - Copyright (c) 2026 旭说