@masumdev/markforge 0.2.5 → 0.3.0
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.
- package/README.md +36 -6
- package/dist/{App-GNRUPFM7.mjs → App-AM2CWXHJ.mjs} +525 -66
- package/dist/{chunk-NGC2ZAWZ.mjs → chunk-HKB4CSPZ.mjs} +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/index.d.mts +105 -2
- package/dist/index.d.ts +105 -2
- package/dist/index.js +401 -13
- package/dist/index.mjs +400 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -196,7 +196,7 @@ export default defineConfig({
|
|
|
196
196
|
metadata: {
|
|
197
197
|
title: "Unified Platform Architecture & Document Suite",
|
|
198
198
|
subtitle: "Enterprise Specification & Feature Validation Guide",
|
|
199
|
-
author: "
|
|
199
|
+
author: "Ma'sum",
|
|
200
200
|
company: "Masum Dev Technologies",
|
|
201
201
|
version: "1.0.0",
|
|
202
202
|
date: "2026-08-29",
|
|
@@ -207,7 +207,7 @@ export default defineConfig({
|
|
|
207
207
|
|
|
208
208
|
---
|
|
209
209
|
|
|
210
|
-
##
|
|
210
|
+
## Custom Theme Customization (`ThemeProps`)
|
|
211
211
|
|
|
212
212
|
You can completely rebrand all document styling by passing a `ThemeProps` object:
|
|
213
213
|
|
|
@@ -234,7 +234,37 @@ export default defineConfig({
|
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
|
237
|
-
##
|
|
237
|
+
## Signatures & Approval Blocks (`signatures`)
|
|
238
|
+
|
|
239
|
+
Add formal signature sign-offs (*Lembar Pengesahan / Tanda Tangan*) with 1-4 slots:
|
|
240
|
+
|
|
241
|
+
```typescript
|
|
242
|
+
export default defineConfig({
|
|
243
|
+
signatures: {
|
|
244
|
+
align: "space-between", // "left" | "center" | "right" | "space-between"
|
|
245
|
+
style: "line", // "line" | "box" | "clean"
|
|
246
|
+
borderColor: "#CBD5E1",
|
|
247
|
+
items: [
|
|
248
|
+
{
|
|
249
|
+
title: "Prepared by",
|
|
250
|
+
name: "{author}",
|
|
251
|
+
role: "Lead Platform Architect",
|
|
252
|
+
date: "{date}",
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
title: "Approved by",
|
|
256
|
+
name: "Dr. Alexander Wright",
|
|
257
|
+
role: "Chief Technology Officer",
|
|
258
|
+
date: "{date}",
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
});
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Programmatic API
|
|
238
268
|
|
|
239
269
|
### High-Level API (`compileMarkdown` / `markforge`)
|
|
240
270
|
|
|
@@ -247,7 +277,7 @@ const result = await compileMarkdown("./specification.md", {
|
|
|
247
277
|
toc: true,
|
|
248
278
|
metadata: {
|
|
249
279
|
title: "API Reference Manual",
|
|
250
|
-
author: "
|
|
280
|
+
author: "Ma'sum",
|
|
251
281
|
version: "1.0.0",
|
|
252
282
|
},
|
|
253
283
|
});
|
|
@@ -294,6 +324,6 @@ fs.writeFileSync("./dist/report.html", htmlString, "utf-8");
|
|
|
294
324
|
|
|
295
325
|
---
|
|
296
326
|
|
|
297
|
-
##
|
|
327
|
+
## License
|
|
298
328
|
|
|
299
|
-
MIT © [
|
|
329
|
+
MIT © [Ma'sum](https://github.com/masumrpg)
|