Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marked for markdown rendering #44

Merged
merged 8 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

31 changes: 0 additions & 31 deletions .eslintrc.cjs

This file was deleted.

17 changes: 14 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
.DS_Store
node_modules
/build

# Output
.output
.vercel
/.svelte-kit
/package
/build

# OS
.DS_Store
Thumbs.db

# Env
.env
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.13.1
v20.16.0
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
13 changes: 10 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"useTabs": false,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 2,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
}
3 changes: 2 additions & 1 deletion src/content/0-post.md → content/0-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: GitHub Flavored Markdown (GFM)
date: '2019-10-01'
date: "2019-10-01"
description: Full example of GFM
category: recepies
tags:
Expand Down Expand Up @@ -99,6 +99,7 @@ A footnote can also have multiple lines[^2].
You can also use words, to fit your writing style more closely[^note].

[^1]: My reference.

[^2]:
Every new line should be prefixed with 2 spaces.
This allows you to have a footnote with multiple lines.
Expand Down
2 changes: 1 addition & 1 deletion src/content/1-post.md → content/1-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: My first Blog Post
date: '2020-02-02'
date: "2020-02-02"
description: Learning how to use @nuxt/content to create a blog
category: dev
tags:
Expand Down
2 changes: 1 addition & 1 deletion src/content/2-post.md → content/2-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: My second post
date: '2021-06-06'
date: "2021-06-06"
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
category: dev
tags:
Expand Down
2 changes: 1 addition & 1 deletion src/content/3-post.md → content/3-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: My third post (yay!)
date: '2021-10-06'
date: "2021-10-06"
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
category: dev
tags:
Expand Down
2 changes: 1 addition & 1 deletion src/content/4-post.md → content/4-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: My 4th Blog Post
date: '2021-11-02'
date: "2021-11-02"
description: Learning how to use @nuxt/content to create a blog
category: dev
tags:
Expand Down
2 changes: 1 addition & 1 deletion src/content/5-post.md → content/5-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: My fifth post
date: '2021-12-06'
date: "2021-12-06"
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
category: dev
tags:
Expand Down
2 changes: 1 addition & 1 deletion src/content/6-post.md → content/6-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: My last post (oh no!)
date: '2022-03-06'
date: "2022-03-06"
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
category: dev
tags:
Expand Down
2 changes: 1 addition & 1 deletion src/content/7-post.md → content/7-post.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Lemon Pound Cake
date: '2023-05-29'
date: "2023-05-29"
description: The humble lemon pound cake.
category: recepies
tags:
Expand Down
33 changes: 33 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import js from "@eslint/js";
import ts from "typescript-eslint";
import svelte from "eslint-plugin-svelte";
import prettier from "eslint-config-prettier";
import globals from "globals";

/** @type {import('eslint').Linter.Config[]} */
export default [
js.configs.recommended,
...ts.configs.recommended,
...svelte.configs["flat/recommended"],
prettier,
...svelte.configs["flat/prettier"],
{
languageOptions: {
globals: {
...globals.browser,
...globals.node
}
}
},
{
files: ["**/*.svelte"],
languageOptions: {
parserOptions: {
parser: ts.parser
}
}
},
{
ignores: ["build/", ".svelte-kit/", "dist/"]
}
];
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "jspsv.dev",
"name": "alkmst.xyz",
"version": "0.0.1",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"dev": "vite dev",
"build": "vite build",
Expand All @@ -16,32 +17,31 @@
"@fontsource-variable/petrona": "^5.0.14",
"@fontsource/geist-mono": "^5.0.3",
"@fontsource/geist-sans": "^5.0.3",
"@sveltejs/adapter-netlify": "^4.2.0",
"@sveltejs/kit": "^2.5.9",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@sveltejs/adapter-netlify": "^4.3.1",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.39.0",
"mdsvex": "^0.11.0",
"mdsvex-relative-images": "^1.0.3",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"marked": "^13.0.2",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"svelte": "5.0.0-next.136",
"svelte-check": "^3.7.1",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-imagetools": "^7.0.2",
"vitest": "^1.6.0"
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-tailwindcss": "^0.6.4",
"svelte": "^5.0.0-next.1",
"svelte-check": "^3.6.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0-alpha.20",
"vite": "^5.0.3",
"vite-imagetools": "^7.0.4",
"vitest": "^2.0.0"
},
"type": "module"
"type": "module",
"dependencies": {
"tiny-glob": "^0.2.9"
}
}
Loading