mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-16 13:13:26 +09:00
update tsconfig and packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { slugify } from "@lib/utils/textConverter";
|
||||
import { slugify } from "@/lib/utils/textConverter";
|
||||
|
||||
const taxonomyFilter = (posts: any[], name: string, key: any) =>
|
||||
posts.filter((post) =>
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
import { slug } from 'github-slugger';
|
||||
import { marked } from "marked";
|
||||
|
||||
marked.use({
|
||||
mangle: false,
|
||||
headerIds: false,
|
||||
});
|
||||
|
||||
// slugify
|
||||
export const slugify = (content: string) => {
|
||||
if (!content) return null;
|
||||
|
||||
Reference in New Issue
Block a user