Skip to content

Commit

Permalink
Use emdash plugin from lib
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermercer committed Mar 5, 2025
1 parent abb7684 commit fb2eb70
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import cloudflare from '@astrojs/cloudflare';
import mdx from "@astrojs/mdx";
import expressiveCode from "astro-expressive-code";
import { defineConfig } from 'astro/config';
import remarkEmdash from './src/plugins/remark/emdash';
import remarkEmdash from './lib/plugins/remark/emdash';
import { jamComments } from "@jam-comments/astro/config";

import { loadEnv } from "vite";
Expand Down
14 changes: 0 additions & 14 deletions src/plugins/remark/emdash.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/utils/renderMarkdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { remark } from 'remark';
import remarkRehype from 'remark-rehype';
import rehypeStringify from 'rehype-stringify';
import remarkEmdash from '../../src/plugins/remark/emdash';
import remarkEmdash from 'lib/plugins/remark/emdash';
import remarkGfm from 'remark-gfm';


Expand Down

0 comments on commit fb2eb70

Please sign in to comment.