Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
npm install # Install dependencies
Sign in to like and favorite skills
npm install # Install dependencies npm run dev # Start dev server (localhost:5173) npm run build # Build for production npm run check # Type-check with svelte-check npm run check:watch # Watch mode type-checking
Directory Structure:
src/lib/ - Core logic: db.ts (database & types), stores.ts (Svelte stores), rss.ts (feed sync), search.ts (tokenization), opml.ts (import/export), config.ts (configuration constants), logger.ts (logging utility), backup.ts (backup functionality), components/ (UI)src/routes/ - SvelteKit routes; +layout.ts disables SSR; api/fetch-feed/ backend endpoint for proxying RSS feedsstatic/ - Static assetsKey Modules:
/api/fetch-feed?url= proxies RSS requests server-side to avoid CORSTypeScript:
type for types, interface for Dexie schemasSvelte Components:
<script lang="ts"> with strict type annotationsliveQuery() from Dexie for read operations$: { ... }){#if}, {#each}, {#await} for control flow; bind:this for refsDatabase:
where().equals().modify(), bulkAdd(), toCollection()0 | 1 for easier indexingImports:
$lib/ for library codeTailwind/Colors: