Skip to content

Commit 5efc455

Browse files
committed
1 parent 2d8fe2a commit 5efc455

File tree

4 files changed

+166
-6
lines changed

4 files changed

+166
-6
lines changed

app/content/posts/20240128-vulkan.mdx

+3-5
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ which is a way to make sure GPU commands can be sync-ed with each other. A semap
5555
two types: wait semaphores and signal semaphores. There can only be one signal semaphores, while there's
5656
no uppper limit for the number of wait semaphores. Semaphores in Vulkan are used exclusively for
5757
GPU-to-GPU operations, so the developers at Khronos Group come up with `VkFence` for GPU-to-CPU operations,
58-
which works identically[\[1\]](#ref-1).
58+
which works identically[^1].
59+
60+
[^1]: I might have to research about this later.
5961

6062
### Command Execution Process
6163

@@ -87,10 +89,6 @@ to our rendering pipelines.
8789

8890
WIP... (◉ 3 ◉)
8991

90-
## Notes
91-
92-
1. <a name="ref-1"></a> I may have to research about this later.
93-
9492
## Edit Logs
9593

9694
- 1.28.2024: First log

contentlayer.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import rehypeCodeTitles from "rehype-code-titles";
33
import rehypeKatex from "rehype-katex";
44
import rehypePrism from "rehype-prism-plus";
55
import rehypeSlug from "rehype-slug";
6+
import remarkGfm from "remark-gfm";
67
import remarkMath from "remark-math";
78

89
export const Post = defineDocumentType(() => ({
@@ -54,7 +55,7 @@ export default makeSource({
5455
contentDirPath: "app/content",
5556
documentTypes: [Post],
5657
mdx: {
57-
remarkPlugins: [remarkMath],
58+
remarkPlugins: [remarkMath, remarkGfm],
5859
rehypePlugins: [
5960
rehypeKatex,
6061
rehypeSlug,

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"rehype-mathjax": "^6.0.0",
3737
"rehype-prism-plus": "^2.0.0",
3838
"rehype-slug": "^6.0.0",
39+
"remark-gfm": "3.0.1",
3940
"remark-math": "^6.0.0",
4041
"sass": "^1.71.1",
4142
"serve": "^14.2.1",

pnpm-lock.yaml

+160
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)