Skip to content

Commit

Permalink
Merge pull request #3416 from udecode/code-block-mermaid
Browse files Browse the repository at this point in the history
Add mermaid to list of supported languages
  • Loading branch information
zbeyens authored Aug 12, 2024
2 parents 9517a2d + d91dbe3 commit 7c73e6c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/www/content/docs/components/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Since Plate UI is not a component library, a changelog is maintained here.

Use the [CLI](https://platejs.org/docs/components/cli) to install the latest version of the components.

## August 2024 #13

### August 12 #13.1

- add mermaid to list of supported languages in preparation for Excalidraw improvements.

## July 2024 #12

### July 14 #12.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import 'prismjs/components/prism-lua.js';
import 'prismjs/components/prism-makefile.js';
import 'prismjs/components/prism-markdown.js';
import 'prismjs/components/prism-matlab.js';
import 'prismjs/components/prism-mermaid.js';
import 'prismjs/components/prism-objectivec.js';
import 'prismjs/components/prism-perl.js';
// import 'prismjs/components/prism-php.js';
Expand Down Expand Up @@ -110,6 +111,7 @@ const languages: { label: string; value: string }[] = [
{ label: 'Makefile', value: 'makefile' },
{ label: 'Markup', value: 'markup' },
{ label: 'MATLAB', value: 'matlab' },
{ label: 'Mermaid', value: 'mermaid' },
{ label: 'Objective-C', value: 'objectivec' },
{ label: 'Perl', value: 'perl' },
{ label: 'PHP', value: 'php' },
Expand Down

0 comments on commit 7c73e6c

Please sign in to comment.