logseq-table-formatter
Standardizes the formatting of markdown tables within Logseq pages for improved text-based readability.
Install
mkdir -p .claude/skills/logseq-table-formatter && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10763" && unzip -o skill.zip -d .claude/skills/logseq-table-formatter && rm skill.zipInstalls to .claude/skills/logseq-table-formatter
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Format markdown tables inside Logseq Flavored Markdown (LFM) pages and journals: bullet-wrapped first row, continuation rows with aligned pipe columns, padded cells for readable plain text, and [[wikilinks]] for graph commands or pages when they exist. Use when adding or fixing tables in pages/*.md or journals/*.md, when the user asks for column alignment, or after editing comparison tables. Do not use to convert wide tables to bullets (skill logseq-convert-md-to-lfm) or for non-Logseq markdown.Key capabilities
- →Format markdown tables
- →Align pipe columns
- →Pad cell text
- →Integrate wikilinks
How it works
It processes table rows to align pipes and pad cells, ensuring the table remains readable in both raw markdown and rendered Logseq views.
Inputs & outputs
When to use logseq-table-formatter
- →Format markdown tables
- →Fix column alignment
- →Add wikilinks to table cells
About this skill
Logseq table formatter
Use when a table lives inside an LFM bullet tree (pages/, journals/) and must render in Logseq and read cleanly in the raw file.
Default path
- Confirm the table should stay a table (not a bullet label/value list). If more than two columns and the content is not a compact comparison, consider bullets per skill logseq-convert-md-to-lfm.
- Build row data (header + separator + body). Prefer short cell text; put detail in child bullets under the table.
- Use wikilinks in cells when a page exists (
[[mise/unuse]], not`mise unuse`). Run skill logseq-link-hygiene when unsure a page exists. - Format with aligned columns:
- First row:
- | col1 | col2 | … |at the correct tab depth. - Following rows: same tab depth, two spaces instead of
-, then| … |so every|shares the same column as row 1. - Pad cell text with spaces so pipes line up across all rows (verify in plain text).
- First row:
- Prefer the formatter script for padding; hand-edit only small tables.
Script
From repo root:
python3 .rulesync/skills/logseq-table-formatter/scripts/format-table.py \
--tabs 2 \
--rows='Command|Primary effect|Cache' \
--rows='----|----|----' \
--rows='[[mise/unuse]]|remove config and binary|✓'
--tabs N— tab count before the table (default2).--rows='a|b|c'— one row per flag (use=so separator rows like----|----are not parsed as CLI flags). First row is emitted with- |, rest with aligned|.- Or pipe one row per line on stdin:
printf '%s\n' 'H|H' '---|---' 'a|b' | python3 …/format-table.py --tabs 2
Trust script output for column widths; fix wikilinks and wording before running.
When to read references
- references/lfm-table-layout.md — LFM nesting, garden examples, wikilink vs backticks, checkmarks, edge cases.
Related
- rule: logseq-core — bullets, tabs, no blank lines between blocks (advanced detail: skill logseq-lfm).
- skill: logseq-convert-md-to-lfm — when not to keep a table.
- skill: logseq-link-hygiene — resolve
[[wikilinks]]before filing.
When not to use it
- →For non-Logseq markdown
- →When converting wide tables to bullets
Prerequisites
Limitations
- →Requires manual wikilink resolution if unsure
- →Prefer script for large tables
How it compares
It specifically handles Logseq Flavored Markdown (LFM) bullet-wrapped structures, unlike generic table formatters.
Compared to similar skills
logseq-table-formatter side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| logseq-table-formatter (this skill) | 0 | 1mo | Review | Beginner |
| obsidian-bases | 11 | 4mo | Review | Intermediate |
| video-transcript-downloader | 4 | 2mo | Review | Intermediate |
| obsidian-clipper-template-creator | 3 | 6mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by codekiln
View all by codekiln →You might also like
obsidian-bases
kepano
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
video-transcript-downloader
steipete
Download videos, audio, subtitles, and clean paragraph-style transcripts from YouTube and any other yt-dlp supported site. Use when asked to “download this video”, “save this clip”, “rip audio”, “get subtitles”, “get transcript”, or to troubleshoot yt-dlp/ffmpeg and formats/playlists.
obsidian-clipper-template-creator
davila7
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-vault-ops
ballred
Read and write Obsidian vault files, manage wiki-links, process markdown with YAML frontmatter. Use when working with vault file operations, creating notes, or managing links.
baoyu-danger-x-to-markdown
JimLiu
Converts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user consent. Use when user mentions "X to markdown", "tweet to markdown", "save tweet", or provides x.com/twitter.com URLs for conversion.
log-work
pchalasani
Log the work segment that you did after the last work log until now in a