React Markdown Preview Versions Save

React component preview markdown text in web browser. The minimal amount of CSS to replicate the GitHub Markdown style. Support dark-mode/night mode.

v5.0.2

6 months ago

Documentation v5.0.2: https://raw.githack.com/uiwjs/react-markdown-preview/328bb37/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v5.0.1...v5.0.2

  • 📖 doc: update document. (#247) f9508e2 @jaywcjlove
npm i @uiw/[email protected]

v5.0.1

6 months ago

Documentation v5.0.1: https://raw.githack.com/uiwjs/react-markdown-preview/075b929/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v5.0.0...v5.0.1

  • 📖 doc: Update document. (#248) fe4e50a @jaywcjlove
  • 📖 doc: Update document. (#248) ddcc2c4 @jaywcjlove
  • 🐞 fix: Fixed code highlighting - show line number, highlight line (#249) d680e3e @RARgames
  • 📖 doc: update document. (#249) 1733d5b @jaywcjlove
npm i @uiw/[email protected]

v5.0.0

6 months ago

Documentation v5.0.0: https://raw.githack.com/uiwjs/react-markdown-preview/2f956a6/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.2.2...v5.0.0

  • 🐞 fix: Fixed merged comments into one node instead of multiple (#248) cc96b52 @RARgames
  • 💄 chore(deps): update react monorepo to ~18.2.0 (#222) 8cd7605 @renovate-bot
  • 💄 chore(deps): update dependency compile-less-cli to ~1.9.0 (#230) 2eb9dc2 @renovate-bot
  • 🐞 fix: fix preview example. (#248) 92d9de6 @jaywcjlove
npm i @uiw/[email protected]

Upgrade v5.0.1+ to fix the problem => ⚠️ The highlight line and Show Line Numbers feature are invalid and require [email protected] upgrade.

v4.2.2

7 months ago

Documentation v4.2.2: https://raw.githack.com/uiwjs/react-markdown-preview/e672a30/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.2.1...v4.2.2

  • 🐞 fix: export markdown.css issue (#247) 4cb0433 @cragonnyunt
npm i @uiw/[email protected]

v4.2.1

7 months ago

Documentation v4.2.1: https://raw.githack.com/uiwjs/react-markdown-preview/00b2b6e/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.2.0...v4.2.1

  • 🆎 type: add nohighlight to file fields in package.json 3d587a6 @jaywcjlove
npm i @uiw/[email protected]

v4.2.0

7 months ago

Documentation v4.2.0: https://raw.githack.com/uiwjs/react-markdown-preview/7ba1829/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.1.16...v4.2.0

  • 🌟 feat: add no highlight component. 2836e47 @jaywcjlove
  • ⛑ test: fix test case error. 2269435 @jaywcjlove
npm i @uiw/[email protected]

Remove Code Highlight

The following example can help you exclude code highlighting code from being included in the bundle. @uiw/react-markdown-preview/nohighlight component does not contain the rehype-prism-plus code highlighting package, showLineNumbers and highlight line functions will no longer work. (#586)

import React from 'react';
import MarkdownPreview from '@uiw/react-markdown-preview/nohighlight';

const source = `
\`\`\`js
function () {
  console.log('hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello')
}
\`\`\`
\`\`\`js
function () {
  console.log('hello ')
}
\`\`\`
`;

export default function Demo() {
  return (
    <MarkdownPreview
      source={source}
    />
  );
}

v4.1.16

8 months ago

Documentation v4.1.16: https://raw.githack.com/uiwjs/react-markdown-preview/7134348/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.1.15...v4.1.16

  • 🐞 fix(deps): update dependency rehype-prism-plus to v1.6.3 (#223) 1774f45 @renovate-bot
  • 💢 ci: update workflows config. d72e3d9 @jaywcjlove
  • 🌍 website: add mermaid example. (#238) 24171ce @jaywcjlove
  • 📖 doc: add mermaid example in README.md 9f35ff7 @jaywcjlove
  • 🌍 website: fix shields import error. ad3bd79 @jaywcjlove
npm i @uiw/[email protected]

v4.1.15

10 months ago

Documentation v4.1.15: https://raw.githack.com/uiwjs/react-markdown-preview/7e1e166/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.1.14...v4.1.15

  • 🐞 fix: lock the version of rehype-prism-plus to v1.6.1 2a28beb @jaywcjlove
npm i @uiw/[email protected]

v4.1.14

10 months ago

Documentation v4.1.14: https://raw.githack.com/uiwjs/react-markdown-preview/73557ca/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.1.13...v4.1.14

  • 🐞 fix(deps): update dependency react-code-preview-layout to v3 #217 fbdee27 @jaywcjlove
  • 📖 doc: Update README.md 04dbddd @jaywcjlove
  • 🌍 website: update markdown preview. a9a7310 @jaywcjlove
  • 🌍 website: update example. 4113ddc @jaywcjlove
  • 💄 chore: update workflows/ci.marster.yml 288fadf @jaywcjlove
  • 🐞 fix(deps): update dependency rehype-prism-plus to ~1.6.1 #223 b6ca649 @jaywcjlove
  • 💄 chore(deps): update dependency lerna to v7 #221 24d6cb9 @jaywcjlove
npm i @uiw/[email protected]

v4.1.13

1 year ago

Documentation v4.1.13: https://raw.githack.com/uiwjs/react-markdown-preview/20b9017/index.html
Comparing Changes: https://github.com/uiwjs/react-markdown-preview/compare/v4.1.12...v4.1.13

  • 🐞 fix: fix the problem of the copy button. (#220) 3a74777 @jaywcjlove
npm i @uiw/[email protected]