-
Notifications
You must be signed in to change notification settings - Fork 407
Conceal additional commands like \section{} and \texttt{} #1978
Copy link
Copy link
Closed
Labels
Description
VimTeX conceals some commands like for instance \textbf{}, \textit{} which I love.
Is there any plan to conceal more commands? The ones that I personally miss the most are for \section{}/\subsection{}/\subsubsection{} and \texttt.
For \texttt{} I think that the surrounding command should be concealed and the text inside it should get a syntax highlighting.
As for \...section, in order to differentiate between the different levels it could for instance get concealed into the markdown syntax like this:
Without conceal:
\section{First Section}
Foo bar
\subsection{Second Section}
Foo bar
\subsubsection{Third Section}
Foo barWith conceal:
# First Section
Foo bar
## Second Section
Foo bar
### Third Section
Foo barWould this be possible to implement?
Reactions are currently unavailable