Skip to content

Commit

Permalink
feat!replace @doc-tools/[email protected] with @diplodoc/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
rusandorx committed Nov 9, 2023
1 parent 89873b9 commit d1aa911
Show file tree
Hide file tree
Showing 23 changed files with 428 additions and 630 deletions.
2 changes: 1 addition & 1 deletion demo/HtmlPreview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import transform from '@doc-tools/transform';
import transform from '@diplodoc/transform';
import type {ClassNameProps} from '../src/classname';
import {colorClassName, MarkupString} from '../src';
import {plugins} from './md-plugins';
Expand Down
28 changes: 14 additions & 14 deletions demo/md-plugins.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import type {PluginWithParams} from 'markdown-it/lib';

import file from '@doc-tools/transform/lib/plugins/file';
import imsize from '@doc-tools/transform/lib/plugins/imsize';
import file from '@diplodoc/transform/lib/plugins/file';
import imsize from '@diplodoc/transform/lib/plugins/imsize';

import sub from 'markdown-it-sub';
import ins from 'markdown-it-ins';
import mark from 'markdown-it-mark';
import color from 'markdown-it-color';
import math from 'markdown-it-katex';

import meta from '@doc-tools/transform/lib/plugins/meta';
import checkbox from '@doc-tools/transform/lib/plugins/checkbox';
import deflist from '@doc-tools/transform/lib/plugins/deflist';
import anchors from '@doc-tools/transform/lib/plugins/anchors';
import cut from '@doc-tools/transform/lib/plugins/cut';
import notes from '@doc-tools/transform/lib/plugins/notes';
import tabs from '@doc-tools/transform/lib/plugins/tabs';
import code from '@doc-tools/transform/lib/plugins/code';
import sup from '@doc-tools/transform/lib/plugins/sup';
import video from '@doc-tools/transform/lib/plugins/video';
import monospace from '@doc-tools/transform/lib/plugins/monospace';
import yfmTable from '@doc-tools/transform/lib/plugins/table';
import meta from '@diplodoc/transform/lib/plugins/meta';
import checkbox from '@diplodoc/transform/lib/plugins/checkbox';
import deflist from '@diplodoc/transform/lib/plugins/deflist';
import anchors from '@diplodoc/transform/lib/plugins/anchors';
import cut from '@diplodoc/transform/lib/plugins/cut';
import notes from '@diplodoc/transform/lib/plugins/notes';
import tabs from '@diplodoc/transform/lib/plugins/tabs';
import code from '@diplodoc/transform/lib/plugins/code';
import sup from '@diplodoc/transform/lib/plugins/sup';
import video from '@diplodoc/transform/lib/plugins/video';
import monospace from '@diplodoc/transform/lib/plugins/monospace';
import yfmTable from '@diplodoc/transform/lib/plugins/table';

const defaultPlugins: PluginWithParams[] = [
meta,
Expand Down
Loading

0 comments on commit d1aa911

Please sign in to comment.