8000 equivalent for \code{} in R-markdown · Issue #10 · rjournal/rjdistill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
equivalent for \code{} in R-markdown #10
Open
@pbiecek

Description

@pbiecek

An article prepared in LaTeX should have function names in the \code{} block.
But how to get such an effect for an Rmd file?
If I use backquotes then they are rendered incorrectly to \texttt in tex.
But if I use the \code{name} command in the Rmd file it is rendered to an empty text in the html file.

How do I get the effect of the `code{} command when preparing an Rmd file?

An example:

When calling `function` for the first time, the following three arguments are mandatory:  (this will be incorrectly rendered in tex)

When calling \code{function} for the first time, the following three arguments are mandatory: (this will be incorrectly rendered in html)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0