Skip to content

Commit

Permalink
fixed imports, added description
Browse files Browse the repository at this point in the history
  • Loading branch information
makhnatkin authored and vsesh committed Jun 13, 2024
1 parent cd81bc6 commit dce445d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Readme.md → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Attach the plugin to the transformer:

```js
import tabsExtension from '@diplodoc/tabs-extension';
import transform from '@doc-tools/transform';
import transform from '@diplodoc/transform';

const {result} = await transform(`
{% list tabs %}
Expand Down Expand Up @@ -58,7 +58,7 @@ import '@diplodoc/tabs-extension/runtime/styles.css'

## MarkdownIt transform plugin

Plugin for [@doc-tools/transform](https://github.com/diplodoc-platform/transform) package.
Plugin for [@diplodoc/transform](https://github.com/diplodoc-platform/transform) package.

Options:
- `runtimeJsPath` - name on runtime script which will be exposed in results `script` section.<br>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions example/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import transform from '@doc-tools/transform';
import transform from '@diplodoc/transform';
import tabs from '@diplodoc/tabs-extension';

import {readFile} from 'node:fs/promises';
Expand All @@ -23,7 +23,7 @@ import {readFile} from 'node:fs/promises';
<body>
${result.html}
</body>
</html>
</html>
`;

// eslint-disable-next-line no-console
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
},
"dependencies": {
"@diplodoc/tabs-extension": "..",
"@doc-tools/transform": "*"
"@diplodoc/transform": "*"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@diplodoc/tabs-extension",
"version": "2.2.0",
"description": "TBD",
"description": "Tabs plugin for Diplodoc transformer and builder",
"main": "plugin/index.js",
"types": "plugin/index.d.ts",
"exports": {
Expand Down

0 comments on commit dce445d

Please sign in to comment.