Skip to content

Releases: Arkounay/obsidian-paste-ascii-table

Release list

1.1.0

Choose a tag to compare

@Arkounay Arkounay released this 14 Sep 13:08

Adds support for space-aligned tables, the ones pandoc and document converters write, where a ruler of dash runs is the only structure and there is no delimiter anywhere:

 -------------------------------- -------------------- --------- 
  Group                            Subgroup             Members  
 -------------------------------- -------------------- --------- 
  Alpha (#101)                     Team one (#9001)     250      
 -------------------------------- -------------------- --------- 

Columns are cut at the offsets the ruler declares. The header may sit between two rulers or above its only one, rulers may be - or =, and a row may be one line or several lines separated by a blank line, which covers pandoc's simple and multiline tables. Cells the renderer wrapped are rejoined as before, and alignment is still inferred from the padding.

Output aligned by spaces with no ruler at all (kubectl get pods, ls -l) is left untouched on purpose: the ruler is the only thing that tells a table from a paragraph that happens to line up.

Also in this release: Convert ASCII table (selection or table at cursor) now takes the block bounds from the converter instead of guessing them from the lines around the cursor, so a table containing a blank line converts whole.

Install manually by copying main.js and manifest.json into <vault>/.obsidian/plugins/paste-ascii-table/.

1.0.0

Choose a tag to compare

@Arkounay Arkounay released this 29 Jul 15:32

First release.

Converts box-drawing and ASCII art tables into Markdown tables on paste, rejoining cells the terminal wrapped over several lines.

Install manually by copying main.js and manifest.json into <vault>/.obsidian/plugins/paste-ascii-table/.