Skip to content

Commit

Permalink
setted doubleEqualityCheck option in remark-flexible-markers
Browse files Browse the repository at this point in the history
  • Loading branch information
“talatkuyuk” committed Dec 28, 2023
1 parent 9a9ba6d commit fd3b4f2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import {
defListHastHandlers,
} from "remark-definition-list";
import remarkFlexibleParagraphs from "remark-flexible-paragraphs";
import remarkFlexibleMarkers from "remark-flexible-markers";
import remarkFlexibleMarkers, {
type FlexibleMarkerOptions,
} from "remark-flexible-markers";
import remarkIns from "remark-ins";
import rehypeSlug from "rehype-slug";
import rehypeAutolinkHeadings, { type Options } from "rehype-autolink-headings";
Expand Down Expand Up @@ -100,7 +102,10 @@ const OpinionatedReactMarkdown = (
dashes: "oldschool",
},
],
remarkFlexibleMarkers,
[
remarkFlexibleMarkers,
{ doubleEqualityCheck: "=:=" } as FlexibleMarkerOptions,
],
remarkIns,
[
remarkGfm, // Github Flavored Markup
Expand Down

0 comments on commit fd3b4f2

Please sign in to comment.