I have \begin{thm}
in a lot of my .tex
files. Whenever I am not in the selected line I would like this to be rendered as Theorem
.
I have tried using conceal but it is limited to rendering a single character.
Does anybody know how to achieve this effect?
\begin{thm}
intoTheorem
when the cursor isn't on the line?" [I believe the answer is "you can't," but even an affirmative answer doesn't require starting from the OP's failed attempt?] This isn't Stack Overflow, where a programming question should show the failing program.