git.iko.soy/typeable/pandoc
on master help sign in
Add option for ToC color
aee1b3dKaixhin
default.latex+1−1
@@ -159,7 +159,7 @@ $include-before$
159$endfor$
159$endfor$
160$if(toc)$
160$if(toc)$
161{
161{
162−\hypersetup{linkcolor=black}
162+\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$black$endif$}
163\setcounter{tocdepth}{$toc-depth$}
163\setcounter{tocdepth}{$toc-depth$}
164\tableofcontents
164\tableofcontents
165}
165}