-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlighting code lines in evaluated SQL-expressions #308
Comments
I think this highlighting feature from remark is tricky. Let me explain : In remarkjs this feature is made to highlight some code block in mardkown. When using xaringan will add support for This is a bit shown in https://slides.yihui.org/xaringan/#29 About the third example, I think this is not working because {{ ... }} So yes for now it won't work with SQL chunk, and any other engine where thos syntax are not valid code. This is because the tokens are not remove from the code before execution. Maybe we could add a Other solution would be to find another token supported by SQL. |
I like this idea and was thinking the same thing, although I would propose we call it |
Oh yeah this is a better name :) It is not as easy as I thought to cover all cases (like |
I find highlighting lines to be a really useful feature of xaringan, but discovered that it's currently not working for evaluated SQL-expressions. Asterix (
*
) appears to work in non-evaluated expressions, but#<<
does not. Both throw an error in evaluated SQL-expressions.Example
Rmd
-file:Session info
Supporting this may not be high priority, but thought I would report it since I already created another SQL-related issue (#307).
Once again, thank you for all your great work.
The text was updated successfully, but these errors were encountered: