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 would like to apply markup within a source block to text so that I can highlight words within my source block.
For example if I have a source block like below:
#+begin_bash-code
[cmeeks@hetemit ~]$ sudo -l
User cmeeks may run the following commands on hetemit:
(root) NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
#+end_bash-code
How could I then apply HTML styles to a specific word?
For example if I wanted to color the "NOPASSWD" word in the block above red, how could I do that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I would like to apply markup within a source block to text so that I can highlight words within my source block.
For example if I have a source block like below:
How could I then apply HTML styles to a specific word?
For example if I wanted to color the "NOPASSWD" word in the block above red, how could I do that?
Any help would be greatly appreciated :)
Thanks
Beta Was this translation helpful? Give feedback.
All reactions