html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/pull/5682#issuecomment-894867998,https://api.github.com/repos/pydata/xarray/issues/5682,894867998,IC_kwDOAMm_X841Vpoe,14371165,2021-08-08T22:58:21Z,2021-08-08T22:58:21Z,MEMBER,"I wonder if it will look best if we avoid splitting inside the latex code?
`name`, `extra` and `units` can have latex as well so I think we need to handle the entire `name+extra+units` string somehow. 

I was playing around a little with regex but I didn't get that far:
```python
import textwrap
import re

name = r""$Ra_s = \mathrm{mean}(\epsilon_k) / \mu M^2_\infty$""
extra = ""Longwinded comments about something confusing. ""
units = r""$[N / m]$""
label_raw = name + extra + units
label_notex = re.sub(""\$(.+?)\$"", ""X "", label_raw, flags=re.DOTALL)
label_notex_wrap = textwrap.wrap(label_notex, 30)
label_tex_wrap = ... # regex to add back the latex strings.  
```
There might very well be a simpler way of doing this.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,963239311