if (FALSE) rstudioapi::highlightUi("#rstudio_workbench_panel_git")
# clear current highlights
if (FALSE) rstudioapi::highlightUi("")
# highlight within an RMD
if (FALSE) rstudioapi::highlightUi(".rstudio_chunk_setup .rstudio_run_chunk")
# Optionally provide a callback adjacent to
# the queries that will be executed when the
# highlighted element is clicked on.
if (FALSE) rstudioapi::highlightUi(
list(
list(
query="#rstudio_workbench_panel_git",
callback="rstudioapi::highlightUi('')"
)
)
)
Run the code above in your browser using DataLab