Skip to content

Commit

Permalink
feat: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmann7 committed Mar 9, 2024
1 parent dbc9ed3 commit 1042f1b
Show file tree
Hide file tree
Showing 56 changed files with 1,617 additions and 2,297 deletions.
10 changes: 7 additions & 3 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import rehypeAutolinkHeadings from "rehype-autolink-headings"
import rehypeCodeTitles from "rehype-code-titles"
import rehypePrettyCode from "rehype-pretty-code"
import rehypeSlug from "rehype-slug"
import remarkGfm from "remark-gfm"
import { codeImport } from "remark-code-import"

const computedFields: ComputedFields = {
slug: {
Expand Down Expand Up @@ -112,16 +112,20 @@ export default makeSource({
contentDirPath: "./src/content",
documentTypes: [Post, Author, Page],
mdx: {
remarkPlugins: [remarkGfm],
// @ts-expect-error - codeImport types are not compatible with remark plugins
remarkPlugins: [codeImport],
rehypePlugins: [
[
// @ts-expect-error rehype-pretty-code has no types
// @ts-expect-error - rehype-pretty-code types are not compatible with rehype plugins
rehypePrettyCode,
{
theme: {
dark: "one-dark-pro",
light: "github-light",
},
defaultLang: {
block: "typescript",
},
},
],
rehypeAutolinkHeadings,
Expand Down
112 changes: 0 additions & 112 deletions drizzle/0000_next_gambit.sql

This file was deleted.

Loading

0 comments on commit 1042f1b

Please sign in to comment.