From 5bd010cf8f53fb65f5851d1b1f7fa4ec5ef3a94a Mon Sep 17 00:00:00 2001 From: suejinkim20 Date: Thu, 11 Jul 2024 11:22:44 -0400 Subject: [PATCH] add ordered list to markdown mapping --- src/components/markdown/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/markdown/index.js b/src/components/markdown/index.js index 9c58b0b..a301316 100644 --- a/src/components/markdown/index.js +++ b/src/components/markdown/index.js @@ -4,7 +4,7 @@ import rehypeRaw from 'rehype-raw' import { hr } from './hr' import { a } from './link' -import { ul, li } from './list' +import { ul, ol, li } from './list' import { pre } from './pre' import { button } from './button' import * as typography from './typography' @@ -21,7 +21,7 @@ const componentMap = { a, hr, pre, - ul, li, + ul, ol, li, ...typography, button, }