Skip to content

Markdown parse error with newline followed by an image #2421

@marcojakob

Description

@marcojakob

Describe the bug

NetlifyCMS crashes by trying to open the following markdown file:

+++
# Some toml metadata
+++

![](myimage.png)

The parse error is caused by the newline followed by an image (if I remove the newline or the image it works).

The error message also contained a link to report it to remarkjs. So, I did that but it is hard for me to tell if it is a Netlify or a Remarkjs problem.

Here is the issue: remarkjs/remark#413

Applicable Versions:

  • Netlify CMS version: 2.9.5
  • Git provider: GitHub
  • OS: Windows 10
  • Browser version: Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions