Add $schema to schema
See original GitHub issueAdding the “$schema” prop would allow IDE support for IntelliSense.
One can add it to the config file themselves, but then IDE throws a little warning that “Property $schema is not allowed.” Not a big deal, but it’d be nice to do away without the warning.
{
"$schema": "./node_modules/markdownlint/schema/markdownlint-config-schema.json",
"default": true,
"MD013": {
"line_length": 100
}
}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Create a Database Schema - SQL Server | Microsoft Learn
To create a schema · In Object Explorer, expand the Databases folder. · Expand the database in which to create the new database...
Read more >Add Custom Schema Markup With Schema Pro
Step 1 – Go to Settings > Schema Pro and click on Add New. Add new schema button. Step 2 – Select Custom...
Read more >What Is Schema Structured Data And How To Implement It - Moz
Schema.org (often called schema) is a semantic vocabulary of tags (or microdata) that you can add to your HTML to improve the way...
Read more >How to Boost Your SEO by Using Schema Markup - Neil Patel
How to Use Schema Markup for SEO · 1. Go to Google's Structured Data Markup Helper · 2. Select the Type of Data...
Read more >Mongoose v6.8.2: Schemas
If you are migrating from 5.x to 6.x please take a moment to read the migration guide. Defining your schema; Creating a model;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. This should be fine to add.
Maybe it’s just VS Code specific, but it is documented here, and I can confirm it works.
https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings
Even without the
markdownlint
VS Code extension, I get IntelliSense.Here’s a video demo of that: https://drive.google.com/file/d/14TvQkNnwSFo80upePXA-oUudln-qIWMP/view?usp=drivesdk
I renamed
$schema
to_$schema
first to disable the behavior, which then produces meaningless IntelliSense suggestions. After I renamed it back, the IS came back.