mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-17 13:43:29 +09:00
migrate to astro v3
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
import { slug } from "github-slugger";
|
||||
import { marked } from "marked";
|
||||
|
||||
marked.use({
|
||||
mangle: false,
|
||||
headerIds: false,
|
||||
});
|
||||
|
||||
// slugify
|
||||
export const slugify = (content: string) => {
|
||||
return slug(content);
|
||||
|
||||
Reference in New Issue
Block a user