From 2f362eaf0937360a0f2a81bac41be81111fa06a8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 6 Sep 2024 08:21:27 +0000 Subject: Added reading time timer --- astro.config.mjs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'astro.config.mjs') diff --git a/astro.config.mjs b/astro.config.mjs index b98292c..8f03e22 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,7 +1,11 @@ import { defineConfig } from "astro/config"; +import { remarkReadingTime } from "./src/plugins/remarkReadingTime"; import sitemap from "@astrojs/sitemap"; export default defineConfig({ site: "https://popov.link", integrations: [sitemap()], + markdown: { + remarkPlugins: [remarkReadingTime], + }, }); -- cgit v1.2.3