Skip to content

Releases: uiwjs/react-markdown-preview

v5.0.6

24 Dec 01:56
Compare
Choose a tag to compare

Buy me a coffee

Documentation v5.0.6: https://raw.githack.com/uiwjs/react-markdown-preview/d113616/index.html
Comparing Changes: v5.0.5...v5.0.6

v5.0.5

23 Dec 08:15
Compare
Choose a tag to compare

Buy me a coffee

Documentation v5.0.5: https://raw.githack.com/uiwjs/react-markdown-preview/eb3cff1/index.html
Comparing Changes: v5.0.4...v5.0.5

v5.0.4

17 Dec 01:06
Compare
Choose a tag to compare

Buy me a coffee

Documentation v5.0.4: https://raw.githack.com/uiwjs/react-markdown-preview/6cade36/index.html
Comparing Changes: v5.0.3...v5.0.4

v5.0.3

27 Nov 12:32
Compare
Choose a tag to compare

Buy me a coffee

Documentation v5.0.3: https://raw.githack.com/uiwjs/react-markdown-preview/a84db59/index.html
Comparing Changes: v5.0.2...v5.0.3

v5.0.2

23 Nov 11:36
Compare
Choose a tag to compare

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

v5.0.1

23 Nov 11:27
Compare
Choose a tag to compare

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

v5.0.0

21 Nov 03:44
Compare
Choose a tag to compare

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

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

02 Nov 05:00
Compare
Choose a tag to compare

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

v4.2.1

01 Nov 05:25
Compare
Choose a tag to compare

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

v4.2.0

01 Nov 04:52
Compare
Choose a tag to compare

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

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}
    />
  );
}