Compare commits

...

7 commits

Author SHA1 Message Date
github-actions[bot]
6175fc406f Merge remote-tracking branch 'origin/master' into blog-content 2026-04-14 10:48:30 +00:00
bdb1560dfb Merge branch 'dev'
Some checks are pending
Sync and Deploy Astro Blog / sync-blog-content (push) Waiting to run
Sync and Deploy Astro Blog / build-and-deploy (push) Blocked by required conditions
Sync and Deploy Astro Blog / manual-deploy (push) Waiting to run
2026-04-14 13:48:33 +03:00
daa458f813 update gh workflow 2026-04-14 13:48:18 +03:00
github-actions[bot]
125c67f184 Merge remote-tracking branch 'origin/master' into blog-content 2026-04-14 10:41:30 +00:00
ClovertaTheTrilobita
0ae9e746a8
Merge pull request #14 from ClovertaTheTrilobita/dev
Added mermaid support
2026-04-14 13:41:20 +03:00
490c66f6b7 changed animation 2026-04-14 13:40:46 +03:00
f53b492431 fix mermaid chart 2026-04-14 13:30:40 +03:00
4 changed files with 20 additions and 10 deletions

View file

@ -20,7 +20,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
@ -55,7 +55,7 @@ jobs:
steps:
- name: Checkout blog-content branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: blog-content

View file

@ -20,6 +20,10 @@ export default defineConfig({
},
integrations: [sitemap(), svelte()],
markdown: {
syntaxHighlight: {
type: 'shiki',
excludeLangs: ['mermaid', 'math'],
},
rehypePlugins: [rehypeMermaid],
},
})

View file

@ -1,4 +1,4 @@
<div id="page-loading-indicator" aria-hidden="true">
<div id="page-loading-indicator" aria-hidden="true" transition:persist>
<span class="page-loading-spinner"></span>
</div>
@ -36,18 +36,17 @@
height: 2rem;
display: grid;
place-items: center;
opacity: 0;
transform: scale(1.3);
transform:
scale(1.3)
translateY(-70px);
pointer-events: none;
/* transition:
opacity 160ms ease,
transform 160ms ease; */
transition:
transform 160ms linear;
z-index: 9999;
}
#page-loading-indicator.is-active {
opacity: 1;
transform: scale(1);
transform: scale(1) translateY(0px);
}
.page-loading-spinner {

View file

@ -49,6 +49,13 @@ td code {
background: rgba(127, 127, 127, 0.12);
}
article svg.flowchart,
article svg[class*="flowchart"],
article svg[id^="mermaid-"] {
display: block;
margin: 1.5rem auto;
}
html {
font-family: "Maple Mono", "Maple Mono CN", monospace;
background-color: #ffffff;