Skip to content

Strings with curly braces in R markdown breaks highlighting #26

Description

@stefanocoretta

In a .Rmd document, if a chunk option has a string containing curly braces, highlighting breaks if the R Markdown grammar is selected. (Latest Atom version and atom-language-r version).

In the following example, the chunk option fig.cap is a string with a LaTeX command using curly braces (\\Cref{s:pilot}).

Screenshot 2019-05-13 at 12 54 15

If the closing brace is removed, highlighting is restored.

Screenshot 2019-05-13 at 12 54 28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions