\emph cannot be used in \code{}: only \var and \link are allowed

This commit is contained in:
Yihui Xie
2014-05-17 00:53:57 -05:00
parent 79c92f1f8e
commit 3d0caba695
2 changed files with 6 additions and 6 deletions

View File

@@ -82,10 +82,10 @@ workerId <- local({
#' }
#' }
#' \code{clientData} also contains information about each output.
#' \code{output_\emph{outputId}_width} and \code{output_\emph{outputId}_height}
#' \code{output_\var{outputId}_width} and \code{output_\var{outputId}_height}
#' give the dimensions (using \code{offsetWidth} and \code{offsetHeight}) of
#' the DOM element that is bound to \code{\emph{outputId}}, and
#' \code{output_\emph{outputId}_hidden} is a logical that indicates whether
#' the DOM element that is bound to \code{\var{outputId}}, and
#' \code{output_\var{outputId}_hidden} is a logical that indicates whether
#' the element is hidden. These values may be \code{NULL} if the output is
#' not bound.
#' }

View File

@@ -23,10 +23,10 @@
}
}
\code{clientData} also contains information about each output.
\code{output_\emph{outputId}_width} and \code{output_\emph{outputId}_height}
\code{output_\var{outputId}_width} and \code{output_\var{outputId}_height}
give the dimensions (using \code{offsetWidth} and \code{offsetHeight}) of
the DOM element that is bound to \code{\emph{outputId}}, and
\code{output_\emph{outputId}_hidden} is a logical that indicates whether
the DOM element that is bound to \code{\var{outputId}}, and
\code{output_\var{outputId}_hidden} is a logical that indicates whether
the element is hidden. These values may be \code{NULL} if the output is
not bound.
}