Skip to content

Commit

Permalink
chore: modify codes
Browse files Browse the repository at this point in the history
  • Loading branch information
oriverk committed Dec 4, 2023
1 parent e48b5f1 commit 69c5839
Show file tree
Hide file tree
Showing 6 changed files with 122 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assignees: ''

# Feature request

## Is your feature request related to a problem? Please describe.
## Is your feature request related to a problem? Please describe

A clear and concise description of what you want and what your use case is.

Expand Down
11 changes: 6 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# related issues

Fixes #

# Changes proposed in this pull request
-
-
-
## Changes proposed in this pull request

- hoge

## the background (as memo)
-

- foo
7 changes: 6 additions & 1 deletion .vscode/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@
"astro",
"typescript",
"typescriptreact"
]
],
"[svelte]": {
"editor.formatOnSave": true,
"editor.deafultFormatter": "svelte.svelte-vscode"
}

}
1 change: 1 addition & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ interface ImportMetaEnv {
readonly SECRET_ALGOLIA_ADMIN_KEY: string
}

// eslint-disable-next-line no-unused-vars
interface ImportMeta {
readonly env: ImportMetaEnv
}
2 changes: 1 addition & 1 deletion src/pages/markdown-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function hello (){

in MDX v2, bare link and link with `<>` is completely deprecated to avoid `<>` as jsx component.

```txt
```plaintext
https://ixanary.com
```

Expand Down
107 changes: 107 additions & 0 deletions src/styles/markdown.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
h1 {
font-size: 2.5rem;
font-weight: 700;
}

h2 {
font-size: 2rem;
font-weight: 700;
}

h2::before {
content: '## ';
content: '## ' / '';
}

h3 {
font-size: 1.5rem;
font-weight: 700;
}

h3::before {
content: '### ';
content: '### ' / '';
}

h4 {
font-size: 1.25rem;
font-weight: 700;
}

h4::before {
content: '#### ';
content: '#### ' / '';
}

h5 {
font-size: 1rem;
font-weight: 700;
}

h6 {
font-size: 0.875rem;
font-weight: 700;
margin: 0;
}

p {
margin-top: 1.25em;
margin-top: 1.25em;
}

blockquote {
padding: 0.5rem 1rem;
background-color: rgba(var(--color-gray) / 0.1);
border-left: 0.25rem solid rgb(var(--color-lightgray));
}

code {
font-family: monospace;
font-size: 0.875rem;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
}

:not(pre)>code {
padding: 0;
margin: 0 0.1rem;
}

:not(pre)>code::before,
:not(pre)>code::after {
content: '`';
content: '`' / '';
}

pre {
margin: 0;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
}

pre code {
font-size: 1rem;
padding: 0;
}

table {
margin: 0;
border-collapse: collapse;
}

th {
padding: 0.25rem 0.5rem;
border: 1px solid #ccc;
text-align: center;
}

td {
padding: 0.25rem 0.5rem;
border: 1px solid #ccc;
}

caption {
color: rgb(var(--color-lightgray));
font-size: 1rem;
padding: 0.5rem 0;
}

0 comments on commit 69c5839

Please sign in to comment.