|
|
|
@ -50,7 +50,7 @@ const MemoContent = (props: MemoContentProps) => {
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<ReactMarkdown
|
|
|
|
<ReactMarkdown
|
|
|
|
remarkPlugins={[remarkDisableSetext, remarkMath, remarkGfm, remarkBreaks, remarkTag, remarkPreserveType]}
|
|
|
|
remarkPlugins={[remarkDisableSetext, remarkMath, remarkGfm, remarkBreaks, remarkTag, remarkPreserveType]}
|
|
|
|
rehypePlugins={[rehypeRaw, rehypeKatex, [rehypeSanitize, SANITIZE_SCHEMA]]}
|
|
|
|
rehypePlugins={[rehypeRaw, [rehypeSanitize, SANITIZE_SCHEMA], rehypeKatex]}
|
|
|
|
components={{
|
|
|
|
components={{
|
|
|
|
// Child components consume from MemoViewContext directly
|
|
|
|
// Child components consume from MemoViewContext directly
|
|
|
|
input: ((inputProps: React.ComponentProps<"input"> & { node?: Element }) => {
|
|
|
|
input: ((inputProps: React.ComponentProps<"input"> & { node?: Element }) => {
|
|
|
|
|