-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/umijs/dumi into dumi-them…
…e-mobile
- Loading branch information
Showing
13 changed files
with
120 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/preset-dumi/src/transformer/fixtures/expect/remark-demo.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<React.Fragment><div className="markdown"><SourceCode code={"import React from 'react';\n\nexport default () => <h1>Hello World!</h1>;\n"} lang="jsx" /> | ||
</div><Previewer sources={{"_":{"jsx":"import React from 'react';\nimport katex from 'katex';\n\nconsole.log(katex);\nexport default () => <h1>Hello World!</h1>;\n","tsx":"import React from 'react';\nimport katex from 'katex';\n\nconsole.log(katex);\n\nexport default () => <h1>Hello World!</h1>;"}}} dependencies={{"react":{"version":"16.13.1"},"katex":{"version":"0.11.1","css":"katex/dist/katex.css"}}} title="test" title_zh-CN="测试" description="<div class="markdown"><p>test css in dependencies</p></div>" description_zh-CN="<div class="markdown"><p>测试依赖中的 CSS</p></div>" identifier="raw-remark-demo"><DumiDemo1 /></Previewer><div className="markdown"> | ||
</div><Previewer sources={{"_":{"jsx":"import React from 'react';\nimport katex from 'katex';\n\nconsole.log(katex);\nexport default () => <h1>Hello World!</h1>;\n","tsx":"import React from 'react';\nimport katex from 'katex';\n\nconsole.log(katex);\n\nexport default () => <h1>Hello World!</h1>;"}}} dependencies={{"react":{"version":"16.13.1"},"katex":{"version":"0.11.1","css":"katex/dist/katex.css"}}} title="test" title_zh-CN="测试" description="<div class="markdown"><p>test css in dependencies,<a href="https://d.umijs.org/" target="_blank">Link<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon">\n <path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path>\n <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon>\n</svg></a></p></div>" description_zh-CN="<div class="markdown"><p>测试依赖中的 CSS,<a href="https://d.umijs.org/" target="_blank">链接<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon">\n <path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path>\n <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon>\n</svg></a></p></div>" identifier="raw-remark-demo"><DumiDemo1 /></Previewer><div className="markdown"> | ||
</div><Previewer sources={{"_":{"jsx":"export default () => <></>;\n","tsx":"export default () => <></>;"}}} dependencies={{}} hideActions={["CSB"]} identifier="raw-remark-demo-1"><DumiDemo2 /></Previewer></React.Fragment> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters