blazed-past-us 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,7 +15,7 @@ async function parseMarkdown(path) {
|
|
|
15
15
|
const result = await remark()
|
|
16
16
|
.use(remarkParse)
|
|
17
17
|
.use(remarkRehype)
|
|
18
|
-
.use(rehypePrettyCode, { theme: '
|
|
18
|
+
.use(rehypePrettyCode, { theme: 'dark-plus', keepBackground: false })
|
|
19
19
|
.use(rehypeStringify)
|
|
20
20
|
.process(markdown);
|
|
21
21
|
return result.value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-markdown.js","sourceRoot":"","sources":["../../src/server/parse-markdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,WAAW,MAAM,cAAc,CAAC;AACvC,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAE/C;;;;;GAKG;AACH,KAAK,UAAU,aAAa,CAAC,IAAY;IACvC,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEtC,MAAM,MAAM,GAAG,MAAM,MAAM,EAAE;SAC1B,GAAG,CAAC,WAAW,CAAC;SAChB,GAAG,CAAC,YAAY,CAAC;SACjB,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"parse-markdown.js","sourceRoot":"","sources":["../../src/server/parse-markdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,WAAW,MAAM,cAAc,CAAC;AACvC,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,eAAe,MAAM,kBAAkB,CAAC;AAE/C;;;;;GAKG;AACH,KAAK,UAAU,aAAa,CAAC,IAAY;IACvC,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEtC,MAAM,MAAM,GAAG,MAAM,MAAM,EAAE;SAC1B,GAAG,CAAC,WAAW,CAAC;SAChB,GAAG,CAAC,YAAY,CAAC;SACjB,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;SACpE,GAAG,CAAC,eAAe,CAAC;SACpB,OAAO,CAAC,QAAQ,CAAC,CAAC;IAErB,OAAO,MAAM,CAAC,KAAe,CAAC;AAChC,CAAC;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blog-name",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"dev": "nodemon --watch src --ext ts,json,css,html --exec \"npm run build && vite preview\""
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
+
"blazed-past-us": "^0.1.2",
|
|
14
15
|
"nodemon": "^3.1.11",
|
|
15
16
|
"rimraf": "^6.1.2",
|
|
16
17
|
"vite": "^7.2.2"
|
|
@@ -63,17 +63,51 @@ p {
|
|
|
63
63
|
|
|
64
64
|
figure {
|
|
65
65
|
margin: 40px 0 20px 0px;
|
|
66
|
+
font-size: 18px;
|
|
67
|
+
padding: 0px 15px 0px 20px;
|
|
68
|
+
background-color: #191d27;
|
|
69
|
+
border-radius: 10px;
|
|
70
|
+
border: 1px solid #424550;
|
|
66
71
|
}
|
|
67
72
|
|
|
68
73
|
pre {
|
|
69
|
-
|
|
74
|
+
overflow-x: auto;
|
|
75
|
+
background-color: #191d27;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
code {
|
|
73
|
-
font-size: 20px;
|
|
74
|
-
padding: 20px;
|
|
75
79
|
background-color: #191d27;
|
|
76
|
-
|
|
80
|
+
font-size: 18px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
figure pre code span {
|
|
84
|
+
margin-top: 0.7rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
code[data-line-numbers] {
|
|
88
|
+
counter-reset: line;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
code[data-line-numbers] > [data-line]::before {
|
|
92
|
+
counter-increment: line;
|
|
93
|
+
content: counter(line);
|
|
94
|
+
display: inline-block;
|
|
95
|
+
width: 0.75rem;
|
|
96
|
+
margin-right: 1.2rem;
|
|
97
|
+
text-align: right;
|
|
98
|
+
color: rgb(92, 92, 92, 0.8);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
code[data-line-numbers-max-digits='2'] > [data-line]::before {
|
|
102
|
+
width: 1.25rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
code[data-line-numbers-max-digits='3'] > [data-line]::before {
|
|
106
|
+
width: 1.75rem;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
code[data-line-numbers-max-digits='4'] > [data-line]::before {
|
|
110
|
+
width: 2.25rem;
|
|
77
111
|
}
|
|
78
112
|
|
|
79
113
|
.date {
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blazed-past-us",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A static blog framework that lets you write content in Markdown directly from your IDE.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "gass-git",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/gass-git/blazed-past-us"
|
|
11
|
+
},
|
|
8
12
|
"exports": {
|
|
9
13
|
".": {
|
|
10
14
|
"import": "./dist/index.js",
|
|
@@ -19,6 +23,7 @@
|
|
|
19
23
|
"build": "tsc && xcopy \"src\\template\" \"dist\\template\" /E /I /Y"
|
|
20
24
|
},
|
|
21
25
|
"devDependencies": {
|
|
26
|
+
"@types/node": "^25.1.0",
|
|
22
27
|
"prettier": "^3.6.2",
|
|
23
28
|
"typescript": "^5.9.3"
|
|
24
29
|
},
|