feat: add remark reading time
This commit is contained in:
parent
a4f12f33a3
commit
6c7c305fe1
7 changed files with 38 additions and 6 deletions
|
|
@ -7,6 +7,7 @@ import remarkEmoji from "remark-emoji";
|
|||
import tailwind from "@astrojs/tailwind";
|
||||
|
||||
import icon from "astro-icon";
|
||||
import { remarkReadingTime } from "./src/remark/remark-reading-time";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
|
|
@ -17,7 +18,7 @@ export default defineConfig({
|
|||
site: "https://daichendt.one",
|
||||
integrations: [
|
||||
mdx({
|
||||
remarkPlugins: [remarkEmoji],
|
||||
remarkPlugins: [remarkEmoji, remarkReadingTime],
|
||||
}),
|
||||
sitemap(),
|
||||
tailwind(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue