Skip to content

Commit

Permalink
chore: transfer ownship
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Nov 22, 2023
1 parent a2a7550 commit 722fbfd
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
41 changes: 25 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,31 @@ npm install remark-docusaurus --save-dev

## Usage

```cjs
// docusaurus.config.cjs
module.exports = async () => {
const { autoTabs, docCardList } = await import('remark-docusaurus');

return {
presets: [
[
'classic',
{
docs: {
beforeDefaultRemarkPlugins: [autoTabs, docCardList]
}
```mjs
// docusaurus.config.mjs
import {
autoTabs,
docCardList,
draftSAdmonition,
svgToObject
} from 'remark-docusaurus';

export default {
presets: [
[
'classic',
{
docs: {
beforeDefaultRemarkPlugins: [
autoTabs,
docCardList,
draftSAdmonition,
svgToObject
]
}
]
}
]
};
]
};
```

Expand Down Expand Up @@ -96,10 +104,11 @@ import TabItem from '@theme/TabItem';

## Tips

This plugin only compatible with `docusaurus@2/remark@^12/mdx@1` and `docusaurus@3/remark@^13+/mdx@3+`.
This plugin only compatible with `docusaurus@3/remark@^13+/mdx@3+`.

## Related

- [markdown-code-block-meta](https://github.com/nice-move/markdown-code-block-meta)
- [rehype-extended-table](https://github.com/nice-move/rehype-extended-table)
- [remark-code-example](https://github.com/nice-move/remark-code-example)
- [remark-kroki](https://github.com/nice-move/remark-kroki)
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-docusaurus",
"version": "0.4.0",
"version": "0.4.1",
"description": "Remark plugin for docusaurus features",
"license": "MIT",
"author": {
Expand All @@ -20,13 +20,13 @@
"site-generator",
"tabs"
],
"homepage": "https://github.com/nice-move/remark-docusaurus",
"homepage": "https://github.com/show-docs/remark-docusaurus",
"repository": {
"type": "git",
"url": "https://github.com/nice-move/remark-docusaurus.git"
"url": "https://github.com/show-docs/remark-docusaurus.git"
},
"bugs": {
"url": "https://github.com/nice-move/remark-docusaurus/issues"
"url": "https://github.com/show-docs/remark-docusaurus/issues"
},
"main": "lib/index.mjs",
"files": [
Expand Down

0 comments on commit 722fbfd

Please sign in to comment.