Skip to content

Commit e5999be

Browse files
authored
fix(markdown): color deprecated html attributes (#12)
* chore: add html to markdown example * fix(markdown): color deprecated html attributes
1 parent 0d1f676 commit e5999be

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

demo/markdown.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
6. Click **Reload** to reload the Code
1515
7. File > Preferences > Color Theme > **Night Owl**
1616

17-
-[ ] check check 12 12
18-
-[ ] check check 12 12
17+
- [ ] check check 12 12
18+
- [ ] check check 12 12
1919

20-
Heading 1
21-
========
20+
# Heading 1
2221

23-
Heading 2
24-
--------------
22+
## Heading 2
2523

2624
### Heading 3
25+
26+
<div align="center">
27+
<img src="example.png" alt="Example image" />
28+
</div>

themes/codesandbox-dark.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@
163163
"scope": ["constant"],
164164
"settings": { "foreground": "#7AD9FB" }
165165
},
166-
{
167-
"name": "invalid",
168-
"scope": ["invalid"],
169-
"settings": { "foreground": "#86897A" }
170-
},
171166
{
172167
"name": "keyword",
173168
"scope": ["keyword"],
@@ -505,6 +500,11 @@
505500
"scope": ["meta.paragraph.markdown"],
506501
"settings": { "foreground": "#e5e5e5" }
507502
},
503+
{
504+
"name": "text.html.markdown meta.attribute",
505+
"scope": ["text.html.markdown meta.attribute"],
506+
"settings": { "foreground": "#CABEFF" }
507+
},
508508
{
509509
"name": "entity.name.section",
510510
"scope": ["entity.name.section"],

0 commit comments

Comments
 (0)