Skip to content

Commit

Permalink
feat: move to Nuxt and rename to MDC
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed May 2, 2022
1 parent 860b78e commit 8e1b3d0
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2020 NuxtLabs
Copyright (c) 2016-2022 NuxtLabs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# MDC for Visual Studio Code

[![Docus Extension for VS Code][extension-version-src]][extension-href]
[![Docus Extension for VS Code][extension-downloads-src]][extension-href]
[![Docus Extension for VS Code][extension-installs-src]][extension-href]
[![MDC Extension for VS Code][extension-version-src]][extension-href]
[![MDC Extension for VS Code][extension-downloads-src]][extension-href]
[![MDC Extension for VS Code][extension-installs-src]][extension-href]

Provides syntax highlighting and colon matching for MDC (Markdown Components) files for [Nuxt Content](https://content.nuxtjs.org).

Expand Down
Binary file modified images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 16 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "docus",
"displayName": "Docus",
"description": "Integrate Docus Markdown Syntax into VSCode",
"name": "mdc",
"displayName": "MDC",
"description": "Provides syntax highlighting and colon matching for MDC (Markdown Components) files for Nuxt Content.",
"version": "0.1.4",
"publisher": "NuxtLabs",
"publisher": "Nuxt",
"icon": "images/icon.png",
"repository": {
"url": "https://github.com/docusgen/vscode-extension",
"url": "https://github.com/nuxtlabs/vscode-mdc",
"type": "git"
},
"homepage": "https://github.com/docusgen/vscode-extension/blob/main/README.md",
"homepage": "https://github.com/nuxtlabs/vscode-mdc/blob/main/README.md",
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.42.0"
Expand All @@ -25,15 +25,20 @@
"contributes": {
"languages": [
{
"id": "docus-markdown",
"aliases": [],
"id": "mdc",
"aliases": [
"MDC",
"mdc",
"Markdown Components",
"Nuxt Content"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "docus-markdown",
"scopeName": "text.markdown.docus",
"language": "mdc",
"scopeName": "text.markdown.mdc",
"path": "./syntaxes/mdc.tmLanguage.json",
"injectTo": [
"text.html.markdown",
Expand All @@ -43,7 +48,7 @@
],
"snippets": [
{
"language": "docus-markdown",
"language": "mdc",
"path": "./snippets/markdown.code-snippets"
}
]
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/mdc.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "markdown",
"injectionSelector": "L:text.html.markdown",
"scopeName": "text.markdown.docus",
"scopeName": "text.markdown.mdc",
"patterns": [
{
"include": "#component_block"
Expand Down

0 comments on commit 8e1b3d0

Please sign in to comment.