Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Escaping (double) backslashes in source.gfm #128

@cokelly

Description

@cokelly

Backlashes are no longer escaped in snippets in the latest Atom, including in safe mode.

For instance, if I place the following in snippets.cson:

".source.gfm":
    "TEST":
        prefix: "test"
        body: "\\centering\\noindent\\rule{0.75\\textwidth}{0.4mm}"

I get the following in the markdown file:

centeringnoindentrule{0.75textwidth}{0.4mm}

Whereas previously I would have got:

\centering\noindent\rule{0.75\textwidth}{0.4mm}

I am on Arch Linux, Atom version 0.192.0-9a0c3f9

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