Skip to content

Commit 0d9f352

Browse files
Update doc/dfetch_preamble.inc
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent a239100 commit 0d9f352

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/dfetch_preamble.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,12 @@
120120
\newcommand{\dfadmonhint}[1]{\begin{tcolorbox}[dftip]{\color{dfgreen}\sffamily\bfseries#1}\par\smallskip}
121121
\newcommand{\dfadmonwarning}[1]{\begin{tcolorbox}[dfwarn]{\color{dfprimary}\sffamily\bfseries#1}\par\smallskip}
122122
\newcommand{\dfadmoncaution}[1]{\begin{tcolorbox}[dfwarn]{\color{dfprimary}\sffamily\bfseries#1}\par\smallskip}
123+
\newcommand{\dfadmonattention}[1]{\begin{tcolorbox}[dfwarn]{\color{dfprimary}\sffamily\bfseries#1}\par\smallskip}
123124
\newcommand{\dfadmondanger}[1]{\begin{tcolorbox}[dferrstyle]{\color{dferror}\sffamily\bfseries#1}\par\smallskip}
124125
\newcommand{\dfadmonerror}[1]{\begin{tcolorbox}[dferrstyle]{\color{dferror}\sffamily\bfseries#1}\par\smallskip}
125126
% Dispatcher: look up \dfadmon<type>; fall back to note style for unknown types
126127
\newcommand{\dfadmonbegin}[2]{%
127-
\ifcsdef{dfadmon#1}{\csuse{dfadmon#1}{#2}}{\dfadmonnote{#2}}%
128+
\ifcsdef{dfadmon#1}{\csuse{dfadmon#1}{`#2`}}{\dfadmonnote{`#2`}}%
128129
}
129130
% sphinx.sty is loaded by \documentclass before the user preamble runs, so
130131
% sphinxadmonition is already defined here and \renewenvironment works directly.

0 commit comments

Comments
 (0)