tgrosinger / advanced-tables-obsidian

Improved table navigation, formatting, and manipulation in Obsidian.md
GNU General Public License v3.0
2.14k stars 80 forks source link

A little bug about formulas #324

Open boa-yang opened 8 months ago

boa-yang commented 8 months ago

Describe the bug a little bug abount formulas by space word after TBLFM;

To Reproduce

Eg :

| No. |
| --- |
| 1   |
| 2   |
| 3   |
| 4   |
|    |
<!-- TBLFM: @3$1..@>$1=(@-1+1) -->
  1. specially! there must be a space word after TBLFM, if not, the parser cannot parse the one.
  2. this bug is so tiny, and very very difficultly to discover.
  3. I think maybe the space word is not necessary.

Expected behavior

  1. After TBLFM, space is not necessary.

Screenshots none

Desktop (please complete the following information):

Additional context none

tgrosinger commented 6 months ago

Looks like this could be changed on this line, but I need to think about the implications of that change first and decide whether to make it or not.