I created the following tcolorbox:
\documentclass{article}
\usepackage{tcolorbox}
\usepackage{lineno}
\begin{document}
\begin{tcolorbox}[middle=0mm,boxsep=0mm]
Headers
\tcblower
\setlength\linenumbersep{-.1cm} %sets the distance of the line numbers from the margin
\setcounter{linenumber}{1}
\begin{internallinenumbers}
\begin{itemize}
\item bullet 1
\item bullet 2
\item bullet 3
\begin{equation}
a = b,
\end{equation}
\noindent where $a$ and $b$ are...
\end{itemize}
\end{internallinenumbers}
\end{tcolorbox}
\end{document}
However, as you can see, the line numbers on the left margin are not showing well. I would like not to number empty lines (but only number the bullet points and equation). Is there a way to make the line number more reasonable?

\begin{equation}...\end{equation}– Feb 07 '16 at 12:10\tcbhighmath{a=b}it works (you can change the style of\tcbhighmathwithhighlight math style={...}– Feb 07 '16 at 21:48