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

Mathjax expressions break plugin usage #250

Open LagSlug opened 1 year ago

LagSlug commented 1 year ago

Describe the bug

By introducing mathjax expressions to a note, tables after mathjax expressions no longer interact with the plugin.

To Reproduce Create note. Apply mathjax expression.

$$
    \displaylines {
        Q(x,y):x^2=y \\
        R(x,y,z):x+y=z
    }
$$

Add table

  | Expression          | Operation       |
  | ------------------- | --------------- |
  | ¬∃ x (P(x) → ¬Q(x)) |                 |
  | ∀x ¬(P(x) → ¬Q(x)   | De Morgan's Law |
  | ∀x ¬(¬P(x) ∨ ¬Q(x)) |                 |
  |                     |                 |

Expected behavior I expect the table to create new rows or columns, or to shift through rows and columns, when using the tab or enter key. Furthermore, I expect the plugin buttons to work when selecting a column or row.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

tgrosinger commented 1 year ago

I was not able to reproduce this issue. Can you please include a complete example of a note which exhibits this problem?