-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Markdownz: replace remark with rehype
Replace `remark` with `markdownz`, to parse Zooniverse markdown to HTML, and `rehype`, to render the parsed HTML as a React component tree. Bump `@zooniverse/react-components` to 1.7.0. Our `markdown-it` plugins rely on Node modules. I've added fallbacks to the dev classifier and project Webpack builds, where they require them.
- Loading branch information
1 parent
0d9b932
commit aa48a48
Showing
16 changed files
with
327 additions
and
914 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"description": "Zooniverse React Components", | ||
"license": "Apache-2.0", | ||
"author": "Zooniverse <[email protected]> (https://www.zooniverse.org/)", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"main": "dist/cjs/index.js", | ||
"exports": { | ||
".": { | ||
|
@@ -44,19 +44,15 @@ | |
"cuid": "~3.0.0", | ||
"formik": "~2.4.0", | ||
"i18next": "~23.5.0", | ||
"markdownz": "~8.1.1", | ||
"mime": "~3.0.0", | ||
"polished": "~4.2.2", | ||
"prop-types": "~15.8.1", | ||
"react-i18next": "~13.2.0", | ||
"react-resize-detector": "~9.1.0", | ||
"react-rnd": "10.4.1", | ||
"remark": "~12.0.1", | ||
"remark-emoji": "~2.0.2", | ||
"remark-external-links": "~3.1.1", | ||
"remark-footnotes": "2.0.0", | ||
"remark-react": "~8.0.0", | ||
"remark-sub-super": "~1.0.16", | ||
"remark-toc": "~5.1.1", | ||
"rehype": "~11.0.0", | ||
"rehype-react": "~6.2.1", | ||
"unist-util-visit": "~1.4.0" | ||
}, | ||
"peerDependencies": { | ||
|
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
Oops, something went wrong.