Forum Discussion
KevinBennett-f8
12 months agoCommunity Member
Code Snippet Block
A copy to clip board button for the code snippet block is something that has been requested for over 5 years. I think this would be an easy addition and greatly help user that are creating education ...
joshh-AS
4 months agoCommunity Member
I found a way to do it! You have to use the "Math Equation" tool and can just copy/paste in some LaTeX which I've provided below.
Step 1
Highlight some text and click on the "Math Equation" button
Step 2
Paste in one of the following LaTeX samples.
Option 1 — choose from the 16 default LaTeX colors:
\colorbox{black}{\textcolor{lime}{\texttt{hello world}}}
Option 2 — choose your own RBG colors:
\definecolor{mybg}{rgb}{0.95, 0.95, 0.95}
\definecolor{mytext}{rgb}{0.1, 0.1, 0.6}
\colorbox{mybg}{\textcolor{mytext}{\texttt{inline code here}}}
Step 3
This results look like this for each of the examples above.
I hope this helps!
Related Content
- 10 months ago
- 3 months ago
- 3 months ago