Skip to content

Commit

Permalink
chore(deps): update dependency @uiw/react-markdown-preview to v4 #39
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 7, 2023
1 parent 3ead352 commit 5b73a85
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@uiw/react-github-corners": "~1.5.3",
"@uiw/react-markdown-preview": "~3.5.1",
"@uiw/react-markdown-preview": "^4.1.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"kkt": "^7.4.9",
Expand Down
3 changes: 3 additions & 0 deletions website/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const App: React.FC = () => {
<span className="App-arrow"></span>
</header>
<Markdown
wrapperElement={{
"data-color-mode": "light"
}}
style={{ paddingTop: 25, maxWidth: 680, margin: '0 auto' }}
source={MDStr.replace(/([\s\S]*)<!--dividing-->/, '')}
/>
Expand Down
1 change: 1 addition & 0 deletions website/Example.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import StackBlitz from '../';

const code = `import React from "react";
Expand Down
9 changes: 9 additions & 0 deletions website/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig",
"include": ["../"],
"compilerOptions": {
"baseUrl": ".",
"emitDeclarationOnly": true,
"noEmit": false
}
}

0 comments on commit 5b73a85

Please sign in to comment.