Skip to content

Commit 9dbd05b

Browse files
committed
chore: rename to @comark/markdown-it
1 parent b7b3d7a commit 9dbd05b

4 files changed

Lines changed: 24 additions & 25 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# markdown-it-comark
1+
# @comark/markdown-it
22

33
[![npm version][npm-version-src]][npm-version-href]
44
[![npm downloads][npm-downloads-src]][npm-downloads-href]
@@ -13,12 +13,12 @@ Use [VS Code MDC Extension](https://marketplace.visualstudio.com/items?itemName=
1313
## Usage
1414

1515
```bash
16-
npm i markdown-it markdown-it-comark
16+
npm i markdown-it @comark/markdown-it
1717
```
1818

1919
```ts
2020
import MarkdownIt from 'markdown-it'
21-
import comark from 'markdown-it-comark'
21+
import comark from '@comark/markdown-it'
2222

2323
const md = new MarkdownIt()
2424
.use(comark)
@@ -55,13 +55,13 @@ Published under MIT License.
5555

5656
<!-- Badges -->
5757

58-
[npm-version-src]: https://img.shields.io/npm/v/markdown-it-comark?style=flat&colorA=080f12&colorB=1fa669
59-
[npm-version-href]: https://npmjs.com/package/markdown-it-comark
60-
[npm-downloads-src]: https://img.shields.io/npm/dm/markdown-it-comark?style=flat&colorA=080f12&colorB=1fa669
61-
[npm-downloads-href]: https://npmjs.com/package/markdown-it-comark
62-
[bundle-src]: https://img.shields.io/bundlephobia/minzip/markdown-it-comark?style=flat&colorA=080f12&colorB=1fa669&label=minzip
63-
[bundle-href]: https://bundlephobia.com/result?p=markdown-it-comark
64-
[license-src]: https://img.shields.io/github/license/nuxt-content/markdown-it-comark.svg?style=flat&colorA=080f12&colorB=1fa669
65-
[license-href]: https://github.com/nuxt-content/markdown-it-comark/blob/main/LICENSE
58+
[npm-version-src]: https://img.shields.io/npm/v/@comark/markdown-it?style=flat&colorA=080f12&colorB=1fa669
59+
[npm-version-href]: https://npmjs.com/package/@comark/markdown-it
60+
[npm-downloads-src]: https://img.shields.io/npm/dm/@comark/markdown-it?style=flat&colorA=080f12&colorB=1fa669
61+
[npm-downloads-href]: https://npmjs.com/package/@comark/markdown-it
62+
[bundle-src]: https://img.shields.io/bundlephobia/minzip/@comark/markdown-it?style=flat&colorA=080f12&colorB=1fa669&label=minzip
63+
[bundle-href]: https://bundlephobia.com/result?p=@comark/markdown-it
64+
[license-src]: https://img.shields.io/github/license/comarkdown/markdown-it-comark.svg?style=flat&colorA=080f12&colorB=1fa669
65+
[license-href]: https://github.com/comarkdown/markdown-it-comark/blob/main/LICENSE
6666
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
67-
[jsdocs-href]: https://www.jsdocs.io/package/markdown-it-comark
67+
[jsdocs-href]: https://www.jsdocs.io/package/@comark/markdown-it

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
2-
"name": "markdown-it-comark",
2+
"name": "@comark/markdown-it",
33
"type": "module",
44
"version": "0.3.0",
55
"packageManager": "pnpm@10.30.3",
6-
"description": "Markdown Components (MDC) support for markdown-it",
7-
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
6+
"description": "Comark (Component in Markdown) support for markdown-it",
87
"license": "MIT",
98
"funding": "https://github.com/sponsors/antfu",
10-
"homepage": "https://github.com/nuxt-content/markdown-it-comark#readme",
9+
"homepage": "https://github.com/comarkdown/markdown-it-comark#readme",
1110
"repository": {
1211
"type": "git",
13-
"url": "git+https://github.com/nuxt-content/markdown-it-comark.git"
12+
"url": "git+https://github.com/comarkdown/markdown-it-comark.git"
1413
},
15-
"bugs": "https://github.com/nuxt-content/markdown-it-comark/issues",
14+
"bugs": "https://github.com/comarkdown/markdown-it-comark/issues",
1615
"keywords": [
1716
"markdown",
1817
"markdown-it-plugin"

test/input/1.basic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Hello
22

3-
_Hello_ **World** from [`markdown-it-comark`](https://github.com/nuxt-content/markdown-it-comark)!
3+
_Hello_ **World** from [`@comark/markdown-it`](https://github.com/comarkdown/markdown-it-comark)!
44

55
> This file contains the basic Markdown syntaxes with `html: true` and `xhtmlOut: true` enabled. It's mainly served as fixture for false positives of the mdc plugin:
66
77
```bash
8-
npm i markdown-it-comark
8+
npm i @comark/markdown-it
99
```
1010

1111
```ts
1212
import MarkdownIt from 'markdown-it'
13-
import mdc from 'markdown-it-comark'
13+
import mdc from '@comark/markdown-it'
1414

1515
// :warning: this line should not be transformed
1616
const md = new MarkdownIt()

test/output/1.basic.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<h1>Hello</h1>
22
<p>
33
<em>Hello</em> <strong>World</strong> from
4-
<a href="https://github.com/nuxt-content/markdown-it-comark"
5-
><code>markdown-it-comark</code></a
4+
<a href="https://github.com/comarkdown/markdown-it-comark"
5+
><code>@comark/markdown-it</code></a
66
>!
77
</p>
88
<blockquote>
@@ -12,10 +12,10 @@ <h1>Hello</h1>
1212
served as fixture for false positives of the mdc plugin:
1313
</p>
1414
</blockquote>
15-
<pre><code class="language-bash">npm i markdown-it-comark
15+
<pre><code class="language-bash">npm i @comark/markdown-it
1616
</code></pre>
1717
<pre><code class="language-ts">import MarkdownIt from 'markdown-it'
18-
import mdc from 'markdown-it-comark'
18+
import mdc from '@comark/markdown-it'
1919

2020
// :warning: this line should not be transformed
2121
const md = new MarkdownIt()

0 commit comments

Comments
 (0)