diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2022-05-30 00:53:36 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2022-05-30 20:05:40 -0500 |
commit | 97273fe071d4aed0f6aefecce99981d4b5ba37ee (patch) | |
tree | c2193b1eeb504b508a1e079b022a42f7ad0cb68d /utils | |
parent | 30d2c741d8df965d5f15404fc471c6a7dd11ee7c (diff) | |
download | homepage-97273fe071d4aed0f6aefecce99981d4b5ba37ee.tar.xz homepage-97273fe071d4aed0f6aefecce99981d4b5ba37ee.zip |
Add new post
Diffstat (limited to 'utils')
-rw-r--r-- | utils/Posts.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/Posts.tsx b/utils/Posts.tsx index 2a69629..fed1d31 100644 --- a/utils/Posts.tsx +++ b/utils/Posts.tsx @@ -1,6 +1,7 @@ import { promises as fs } from 'fs'; import path from 'path'; -import marked from 'marked'; +// @ts-ignore +import { marked } from 'marked'; import markedOptions from './markedOptions'; marked.setOptions(markedOptions); |