You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoelMTaylor opened this issue
Jul 4, 2024
· 5 comments
Assignees
Labels
bugIssue identified by VS Code Team member as probable buggrammarSyntax highlighting grammarmarkdownMarkdown support issuesverifiedVerification succeeded
When I opened my workspace, I noticed that some or all (depending on the page) of the text is red and struckthrough (strikethrough appearance). I did nothing.
I disabled all extensions and restarted the window, and it is still the same. I assume this was an update, but I cannot see why based on the update docs.
I am writing documents using Markdown. This is for a docs site that uses Retype.
Image:
Code snippet:
---
{{ include "joel-taylor" }}
date: 2024-05-17
description:
title:
label:
categories:
- Teachers
- Curriculum Managers
- School Leaders
tags:
image: null
icon:
layout: default
order: 46
visibility: public
---
# Class Tools
{{ include "under-construction" }}
## Introduction
## Class Placemat
The **Class Placemat** summarises key class data for the teacher's review.
1. Select the Year Level, Subject and Class, then click **Find**.
2. Students are grouped based on their previous end of semester result in the subject (into A's, B's, etc.).\
Seems to be due to use of --- - which is used for page metadata. Without these, it does not occur.
VS Code version: Code - Insiders 1.92.0-insider (34f8428, 2024-07-04T05:49:09.268Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
Item
Value
CPUs
Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 x 2808)
YAML states anything after the {{ include "joel-taylor" }} is invalid (because it is missing an ending :)
however that FrontMatter variable is preprocessed into valid YAML when the markdown is loaded
I've removed the strikethrough
and filed a bug report to microsoft/vscode-markdown-tm-grammar#164 for YAML escaping the ending ---
I'll change how an invalid {{ ... }} is interrupted
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIssue identified by VS Code Team member as probable buggrammarSyntax highlighting grammarmarkdownMarkdown support issuesverifiedVerification succeeded
Type: Bug
When I opened my workspace, I noticed that some or all (depending on the page) of the text is red and struckthrough (strikethrough appearance). I did nothing.
I disabled all extensions and restarted the window, and it is still the same. I assume this was an update, but I cannot see why based on the update docs.
I am writing documents using Markdown. This is for a docs site that uses Retype.
Image:
Code snippet:
Seems to be due to use of
---
- which is used for page metadata. Without these, it does not occur.VS Code version: Code - Insiders 1.92.0-insider (34f8428, 2024-07-04T05:49:09.268Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (29)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: