You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this should be solved in rmarkdown directly. We already released (in rmarkdown 2.10) a quick fix for html_document() related output, but I don't think reprex is using html_document() or html_document_base() to render the HTML preview. It is the same for github_document() - the highlighting oddity still remains.
We plan to make a proper fix that reprex could benefit. We are tracking this in rstudio/rmarkdown#2196
Looks like reprex just needs to wait for the upstream fixes to happen, as described above. It's really not something the reprex package has control over.
Currently, using the default syntax highlighting, the native pipe is highlighted as separate
|
and>
. The following:Created on 2021-08-16 by the reprex package (v2.0.1)
Results in this in the viewer:
It would be great to support highlighting the native pipe as a distinct operator.
The text was updated successfully, but these errors were encountered: