Is there a way to manually tag parts of input expressions to highlight the part?
A wrapper function that only affects input cell and is otherwise transparent to evaluation?
For example, would like to have a function such as:
Query[All, highlightedInput[Median] /* f][<|"a" -> {1, 2}, "b" -> {2, 3, 4}|>]
Where Median
would be highlighted - analogous to Highlighted
for output form - but highlightedInput
would not appear in the input cell. Application is instructional material where one wants some parts highlighted.
Could only find a related Q but doesn't get to a solution: Is there a way to write markdown in Mathematica notebook?