Skip to content

Commit

Permalink
add demo
Browse files Browse the repository at this point in the history
  • Loading branch information
szktkfm committed Apr 16, 2024
1 parent bcac7ac commit 4d962f4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🗓️ mdtt: Markdown Table Editor TUI

<img src="assets/first.gif" width="500">
<img src="assets/01.gif" width="500">

Editing markdown tables can be tedious. `mdtt` simplifies this with a TUI designed for direct terminal edits using vim-like keybindings. It supports outputting to stdout or inplace editing of markdown files.

Expand Down Expand Up @@ -34,26 +34,24 @@ While editing, you can utilize the following vim-like keybindings to navigate an
- Copy the current row or column with `yy`, `vy`.
- Paste a copied row or column with `p`.

ここにgif挿入
[]
<img src="assets/02.gif" width=500>


If you prefer to edit the file directly and save changes back to the same file, use:

```sh
mdtt -i filename.md
```
<img src="assets/03.gif" width=500>

ここにgif挿入
[]

To pipe contents into mdtt:

```sh
pbpaste | mdtt | pbcopy
```

ここにgif挿入
[]
<img src="assets/04.gif" width=500>

To create a new table without using an existing file, simply run mdtt without any arguments:

Expand Down

0 comments on commit 4d962f4

Please sign in to comment.