Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown content is rendered struckout when frontmatter present #221667

Closed
drok opened this issue Jul 14, 2024 · 2 comments
Closed

Markdown content is rendered struckout when frontmatter present #221667

drok opened this issue Jul 14, 2024 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) markdown Markdown support issues

Comments

@drok
Copy link

drok commented Jul 14, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.92.0-insider
  • OS Version: Windows 10.0.17763

Steps to Reproduce:

  1. Create and save Frontmatter.md with the content below:
---
title: "My Title"
date: May 1, 2001
---

# First Chapter

Some content

# Second Chapter

More content

  1. Observe the following rendering:

image

  1. The "Second Section" content should not be struck out.
  2. If I remove the frontmatter or change the delimiters to ~~~ instead of ---, the rendering is correct, but this breaks pandoc which doesn't recognize ~~~ as front matter. The colors of the text also change:

image

@RedCMD
Copy link
Contributor

RedCMD commented Jul 15, 2024

dup of #220022 #221181

already fixed in latest insiders
image

@mjbvz mjbvz added markdown Markdown support issues *duplicate Issue identified as a duplicate of another issue(s) labels Jul 16, 2024
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Aug 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) markdown Markdown support issues
Projects
None yet
Development

No branches or pull requests

5 participants
@drok @mjbvz @RedCMD @vscodenpa and others