The script `line-numbers.jsx` does not work in Tables and Footnotes. I hope to contribute a solution in the near future.