Skip to content

Commit ac285b3

Browse files
committed
Add additional markdown rendering and home page content
1 parent 96c4c8d commit ac285b3

40 files changed

+3957
-242
lines changed

package-lock.json

Lines changed: 3000 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
},
1111
"dependencies": {
1212
"@primer/octicons-react": "^19.10.0",
13+
"@r4ai/remark-callout": "^0.4.0",
1314
"@types/remark-prism": "^1.3.7",
1415
"gray-matter": "^4.0.3",
16+
"install": "^0.13.0",
1517
"next": "14.2.4",
18+
"npm": "^10.8.2",
1619
"prism": "^1.0.0",
1720
"prismjs": "^1.29.0",
1821
"react": "^18",
@@ -24,6 +27,7 @@
2427
"remark": "^15.0.1",
2528
"remark-html": "^16.0.1",
2629
"remark-math": "^6.0.0",
30+
"remark-mermaid": "^0.2.0",
2731
"remark-prism": "^1.3.6",
2832
"remark-rehype": "^11.1.0",
2933
"unified": "^11.0.5"
Loading

public/posts/.obsidian/workspace.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"state": {
9898
"type": "markdown",
9999
"state": {
100-
"file": "test.md",
100+
"file": "failing_to_validate_files.md",
101101
"mode": "source",
102102
"source": false
103103
}
@@ -170,7 +170,7 @@
170170
"state": {
171171
"type": "backlink",
172172
"state": {
173-
"file": "test.md",
173+
"file": "failing_to_validate_files.md",
174174
"collapseAll": false,
175175
"extraContext": false,
176176
"sortOrder": "alphabetical",
@@ -187,7 +187,7 @@
187187
"state": {
188188
"type": "outgoing-link",
189189
"state": {
190-
"file": "test.md",
190+
"file": "failing_to_validate_files.md",
191191
"linksCollapsed": false,
192192
"unlinkedCollapsed": true
193193
}
@@ -210,7 +210,7 @@
210210
"state": {
211211
"type": "outline",
212212
"state": {
213-
"file": "test.md"
213+
"file": "failing_to_validate_files.md"
214214
}
215215
}
216216
}
@@ -234,9 +234,9 @@
234234
},
235235
"active": "ebcecf4371b7565b",
236236
"lastOpenFiles": [
237+
"test.md",
237238
"test.md~",
238239
"jksdf.md",
239-
"test.md",
240240
"templates/post.md",
241241
"Untitled 1.md",
242242
"failing_to_validate_files.md",

public/posts/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ for(let i = 0; i < 100; i++) {
1616
}
1717
```
1818

19-
## Math Rendering!
19+
# Math Rendering!
2020

2121
Math block:
2222
$$

public/projects/.obsidian/app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"file-explorer": true,
3+
"global-search": true,
4+
"switcher": true,
5+
"graph": true,
6+
"backlink": true,
7+
"canvas": true,
8+
"outgoing-link": true,
9+
"tag-pane": true,
10+
"properties": false,
11+
"page-preview": true,
12+
"daily-notes": true,
13+
"templates": true,
14+
"note-composer": true,
15+
"command-palette": true,
16+
"slash-command": false,
17+
"editor-status": true,
18+
"bookmarks": true,
19+
"markdown-importer": false,
20+
"zk-prefixer": false,
21+
"random-note": false,
22+
"outline": true,
23+
"word-count": true,
24+
"slides": false,
25+
"audio-recorder": false,
26+
"workspaces": false,
27+
"file-recovery": true,
28+
"publish": false,
29+
"sync": false
30+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
"file-explorer",
3+
"global-search",
4+
"switcher",
5+
"graph",
6+
"backlink",
7+
"canvas",
8+
"outgoing-link",
9+
"tag-pane",
10+
"page-preview",
11+
"daily-notes",
12+
"templates",
13+
"note-composer",
14+
"command-palette",
15+
"editor-status",
16+
"bookmarks",
17+
"outline",
18+
"word-count",
19+
"file-recovery"
20+
]
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"main": {
3+
"id": "8c98573923189034",
4+
"type": "split",
5+
"children": [
6+
{
7+
"id": "995f5c1f774f0bb0",
8+
"type": "tabs",
9+
"children": [
10+
{
11+
"id": "ed18c5508e30af8b",
12+
"type": "leaf",
13+
"state": {
14+
"type": "markdown",
15+
"state": {
16+
"file": "gears.md",
17+
"mode": "source",
18+
"source": false
19+
}
20+
}
21+
}
22+
]
23+
}
24+
],
25+
"direction": "vertical"
26+
},
27+
"left": {
28+
"id": "015f9466fe3f41dc",
29+
"type": "split",
30+
"children": [
31+
{
32+
"id": "f376766061f563b9",
33+
"type": "tabs",
34+
"children": [
35+
{
36+
"id": "434715e1488dc85c",
37+
"type": "leaf",
38+
"state": {
39+
"type": "file-explorer",
40+
"state": {
41+
"sortOrder": "alphabetical"
42+
}
43+
}
44+
},
45+
{
46+
"id": "53e62e84a483e14e",
47+
"type": "leaf",
48+
"state": {
49+
"type": "search",
50+
"state": {
51+
"query": "",
52+
"matchingCase": false,
53+
"explainSearch": false,
54+
"collapseAll": false,
55+
"extraContext": false,
56+
"sortOrder": "alphabetical"
57+
}
58+
}
59+
},
60+
{
61+
"id": "5852af15beebda70",
62+
"type": "leaf",
63+
"state": {
64+
"type": "bookmarks",
65+
"state": {}
66+
}
67+
}
68+
]
69+
}
70+
],
71+
"direction": "horizontal",
72+
"width": 300
73+
},
74+
"right": {
75+
"id": "e3eec632eba5f464",
76+
"type": "split",
77+
"children": [
78+
{
79+
"id": "003abc2f89ca4636",
80+
"type": "tabs",
81+
"children": [
82+
{
83+
"id": "74059b5bab355e34",
84+
"type": "leaf",
85+
"state": {
86+
"type": "backlink",
87+
"state": {
88+
"file": "gears.md",
89+
"collapseAll": false,
90+
"extraContext": false,
91+
"sortOrder": "alphabetical",
92+
"showSearch": false,
93+
"searchQuery": "",
94+
"backlinkCollapsed": false,
95+
"unlinkedCollapsed": true
96+
}
97+
}
98+
},
99+
{
100+
"id": "d01fa7d6f135f2b1",
101+
"type": "leaf",
102+
"state": {
103+
"type": "outgoing-link",
104+
"state": {
105+
"file": "gears.md",
106+
"linksCollapsed": false,
107+
"unlinkedCollapsed": true
108+
}
109+
}
110+
},
111+
{
112+
"id": "940cc0d872eecc64",
113+
"type": "leaf",
114+
"state": {
115+
"type": "tag",
116+
"state": {
117+
"sortOrder": "frequency",
118+
"useHierarchy": true
119+
}
120+
}
121+
},
122+
{
123+
"id": "f3b2403ca0270d70",
124+
"type": "leaf",
125+
"state": {
126+
"type": "outline",
127+
"state": {
128+
"file": "gears.md"
129+
}
130+
}
131+
}
132+
]
133+
}
134+
],
135+
"direction": "horizontal",
136+
"width": 300,
137+
"collapsed": true
138+
},
139+
"left-ribbon": {
140+
"hiddenItems": {
141+
"switcher:Open quick switcher": false,
142+
"graph:Open graph view": false,
143+
"canvas:Create new canvas": false,
144+
"daily-notes:Open today's daily note": false,
145+
"templates:Insert template": false,
146+
"command-palette:Open command palette": false
147+
}
148+
},
149+
"active": "ed18c5508e30af8b",
150+
"lastOpenFiles": [
151+
"test.md",
152+
"gears.md",
153+
"!/assets/projects/gears/gears.png.md",
154+
"!/assets/projects/gears",
155+
"!/assets/projects",
156+
"!/assets",
157+
"!"
158+
]
159+
}

0 commit comments

Comments
 (0)