Skip to content

Commit 3f78daf

Browse files
Creating a markdown preview viewer for easy use
1 parent 3719153 commit 3f78daf

File tree

9 files changed

+356
-27
lines changed

9 files changed

+356
-27
lines changed

.cursor/rules/project-overview.mdc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
description:
3+
globs:
4+
---
5+
6+
# Project Overview
7+
8+
- This project is built using Astro. There will be `.astro` files for pages, layouts, and components.
9+
- The chosen library for interactivity is Svelte. Specifically, use Svelte 5 syntax.
10+
- All content is written in Markdown or MDX.
11+
- Name in PascalCase under `src/components/`.
12+
- Keep them small, typed with interfaces.
13+
- Use Tailwind, radix, and shadcn/ui for common UI components like textarea, button, etc.
14+
15+
## Tailwind Usage
16+
17+
- Use Tailwind (mobile-first, dark mode with dark:(class)). Extend brand tokens in `tailwind.config.ts`.
18+

package-lock.json

Lines changed: 44 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@tailwindcss/typography": "^0.5.16",
3131
"@types/codemirror": "^5.60.15",
3232
"@types/html-escaper": "^3.0.2",
33-
"astro": "^5.2.3",
33+
"astro": "^5.2.6",
3434
"astro-auto-import": "^0.4.4",
3535
"clsx": "^2.1.1",
3636
"codemirror": "^6.0.1",
@@ -49,6 +49,8 @@
4949
"tailwind-variants": "^0.3.0",
5050
"tailwindcss": "^3.4.17",
5151
"unist-util-remove": "^4.0.0",
52-
"unist-util-visit": "^5.0.0"
52+
"unist-util-visit": "^5.0.0",
53+
"marked": "^15.0.7",
54+
"highlight.js": "^11.9.0"
5355
}
5456
}

0 commit comments

Comments
 (0)