robindijkhof / overleaf-textarea

This plugin displays your tex source in a textarea so plugins like grammarly can check it.
GNU General Public License v3.0
513 stars 31 forks source link

Commands such as references not showing up in textarea #76

Closed mike-gruendler closed 1 year ago

mike-gruendler commented 2 years ago

Hi there,

Thank you very much for this awesome plugin!

I have the following issue:

LaTeX: in section \ref{Linking solutions to challenges} to solution

Textarea: in section to solution

The textarea does not show "in section 1.4 to solution" but "in section (double space) to solution".

This is also an issue with \cite and \href for links to websites. This content does not show up, and this messes with the ability of Grammarly to properly check the text since it believes there is a space too much, and sometimes the sentence structure makes no sense without these things.

Thanks for you help!

robindijkhof commented 1 year ago

This is by design. Create a new filter to override the behaviour.