Skip to content

Commit 3504352

Browse files
committed
removed plugin to allow md expectations
1 parent 35a0eed commit 3504352

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ This is a major release, and it might be not compatible with your current usage
9898
- use `<ReactFlow />` with `configuration`, or define it yourself
9999
- SCSS variables `$eccgui-color-application-text` and `$eccgui-color-application-background` were removed
100100
- use `$eccgui-color-workspace-text` and `$eccgui-color-workspace-background`
101+
- Removed `remarkTypograf` from markdown plugin tray to maintain display expectation
101102

102103
### Fixed
103104

src/cmem/markdown/Markdown.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from "react";
22
import ReactMarkdown from "react-markdown";
33
import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";
44
// @ts-ignore: No declaration file for module (TODO: should be @ts-expect-error but GUI elements is used inside project with `noImplicitAny=false`)
5-
import remarkTypograf from "@mavrin/remark-typograf";
65
import rehypeExternalLinks from "rehype-external-links";
76
import rehypeRaw from "rehype-raw";
87
import { remarkDefinitionList } from "remark-definition-list";
@@ -55,7 +54,7 @@ const configDefault = {
5554
@see https://github.com/remarkjs/react-markdown#api
5655
*/
5756
// @see https://github.com/remarkjs/remark/blob/main/doc/plugins.md#list-of-plugins
58-
remarkPlugins: [remarkGfm, remarkTypograf, remarkDefinitionList] as PluggableList,
57+
remarkPlugins: [remarkGfm, remarkDefinitionList] as PluggableList,
5958
// @see https://github.com/rehypejs/rehype/blob/main/doc/plugins.md#list-of-plugins
6059
rehypePlugins: [] as PluggableList,
6160
allowedElements: [

0 commit comments

Comments
 (0)