joplin-plugin-table-formatter icon indicating copy to clipboard operation
joplin-plugin-table-formatter copied to clipboard

Bug with missing initial "|"

Open dayfuaim opened this issue 3 years ago • 2 comments

Really, %SUBJ.

Explanation:

If line that you are at doesn't have | at start, then it's just deleted by plugin. Table remains unformatted.

dayfuaim avatar Dec 28 '21 13:12 dayfuaim

The plugin only formats valid markdown tables. A line without a leading | is not a valid table line. It shouldn't delete anything though, this is certainly a bug.

roman-r-m avatar Dec 28 '21 13:12 roman-r-m

I call it unintended feature lol

Tho yeah, if the line starts with anything but | it just deletes it...

You could use this to generate a blank table if you use the plugin on an empty line and do nothing if the line is not empty and doesn't start with |

EdoardoMauriello avatar Sep 22 '22 09:09 EdoardoMauriello