@syntrologie/adapt-faq 2.11.0 → 2.12.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.
@@ -0,0 +1,113 @@
1
+ .TH "MARKED" "1" "March 2026" "17.0.3"
2
+ .SH "NAME"
3
+ \fBmarked\fR \- a javascript markdown parser
4
+ .SH SYNOPSIS
5
+ .P
6
+ \fBmarked\fP [\fB\-o\fP <output file>] [\fB\-i\fP <input file>] [\fB\-s\fP <markdown string>] [\fB\-c\fP <config file>] [\fB\-\-help\fP] [\fB\-\-version\fP] [\fB\-\-tokens\fP] [\fB\-\-no\-clobber\fP] [\fB\-\-pedantic\fP] [\fB\-\-gfm\fP] [\fB\-\-breaks\fP] [\fB\-\-no\-etc\.\.\.\fP] [\fB\-\-silent\fP] [filename]
7
+ .SH DESCRIPTION
8
+ .P
9
+ marked is a full\-featured javascript markdown parser, built for speed\.
10
+ .br
11
+ It also includes multiple GFM features\.
12
+ .SH EXAMPLES
13
+ .RS 2
14
+ .nf
15
+ cat in\.md | marked > out\.html
16
+ .fi
17
+ .RE
18
+ .RS 2
19
+ .nf
20
+ echo "hello *world*" | marked
21
+ .fi
22
+ .RE
23
+ .RS 2
24
+ .nf
25
+ marked \-o out\.html \-i in\.md \-\-gfm
26
+ .fi
27
+ .RE
28
+ .RS 2
29
+ .nf
30
+ marked \-\-output="hello world\.html" \-i in\.md \-\-no\-breaks
31
+ .fi
32
+ .RE
33
+ .SH OPTIONS
34
+
35
+ .RS 1
36
+ .IP \(bu 2
37
+ \-o, \-\-output [output file]
38
+ .br
39
+ Specify file output\. If none is specified, write to stdout\.
40
+ .IP \(bu 2
41
+ \-i, \-\-input [input file]
42
+ .br
43
+ Specify file input, otherwise use last argument as input file\.
44
+ .br
45
+ If no input file is specified, read from stdin\.
46
+ .IP \(bu 2
47
+ \-s, \-\-string [markdown string]
48
+ .br
49
+ Specify string input instead of a file\.
50
+ .IP \(bu 2
51
+ \-c, \-\-config [config file]
52
+ .br
53
+ Specify config file to use instead of the default \fB~/\.marked\.json\fP or \fB~/\.marked\.js\fP or \fB~/\.marked/index\.js\fP\|\.
54
+ .IP \(bu 2
55
+ \-t, \-\-tokens
56
+ .br
57
+ Output a token list instead of html\.
58
+ .IP \(bu 2
59
+ \-n, \-\-no\-clobber
60
+ .br
61
+ Do not overwrite \fBoutput\fP if it exists\.
62
+ .IP \(bu 2
63
+ \-\-pedantic
64
+ .br
65
+ Conform to obscure parts of markdown\.pl as much as possible\.
66
+ .br
67
+ Don't fix original markdown bugs\.
68
+ .IP \(bu 2
69
+ \-\-gfm
70
+ .br
71
+ Enable github flavored markdown\.
72
+ .IP \(bu 2
73
+ \-\-breaks
74
+ .br
75
+ Enable GFM line breaks\. Only works with the gfm option\.
76
+ .IP \(bu 2
77
+ \-\-no\-breaks, \-no\-etc\.\.\.
78
+ .br
79
+ The inverse of any of the marked options above\.
80
+ .IP \(bu 2
81
+ \-\-silent
82
+ .br
83
+ Silence error output\.
84
+ .IP \(bu 2
85
+ \-h, \-\-help
86
+ .br
87
+ Display help information\.
88
+
89
+ .RE
90
+ .SH CONFIGURATION
91
+ .P
92
+ For configuring and running programmatically\.
93
+ .P
94
+ Example
95
+ .RS 2
96
+ .nf
97
+ import { Marked } from 'marked';
98
+ const marked = new Marked({ gfm: true });
99
+ marked\.parse('*foo*');
100
+ .fi
101
+ .RE
102
+ .SH BUGS
103
+ .P
104
+ Please report any bugs to https://github.com/markedjs/marked
105
+ .SH LICENSE
106
+ .P
107
+ Copyright (c) 2018+, MarkedJS\. (MIT License)
108
+ .br
109
+ Copyright (c) 2011\-2018, Christopher Jeffrey\. (MIT License)
110
+ .SH SEE ALSO
111
+ .P
112
+ markdown(1), nodejs(1)
113
+
@@ -0,0 +1,93 @@
1
+ # marked(1) -- a javascript markdown parser
2
+
3
+ ## SYNOPSIS
4
+
5
+ `marked` [`-o` <output file>] [`-i` <input file>] [`-s` <markdown string>] [`-c` <config file>] [`--help`] [`--version`] [`--tokens`] [`--no-clobber`] [`--pedantic`] [`--gfm`] [`--breaks`] [`--no-etc...`] [`--silent`] [filename]
6
+
7
+ ## DESCRIPTION
8
+
9
+ marked is a full-featured javascript markdown parser, built for speed.
10
+ It also includes multiple GFM features.
11
+
12
+ ## EXAMPLES
13
+
14
+ ```sh
15
+ cat in.md | marked > out.html
16
+ ```
17
+
18
+ ```sh
19
+ echo "hello *world*" | marked
20
+ ```
21
+
22
+ ```sh
23
+ marked -o out.html -i in.md --gfm
24
+ ```
25
+
26
+ ```sh
27
+ marked --output="hello world.html" -i in.md --no-breaks
28
+ ```
29
+
30
+ ## OPTIONS
31
+
32
+ * -o, --output [output file]
33
+ Specify file output. If none is specified, write to stdout.
34
+
35
+ * -i, --input [input file]
36
+ Specify file input, otherwise use last argument as input file.
37
+ If no input file is specified, read from stdin.
38
+
39
+ * -s, --string [markdown string]
40
+ Specify string input instead of a file.
41
+
42
+ * -c, --config [config file]
43
+ Specify config file to use instead of the default `~/.marked.json` or `~/.marked.js` or `~/.marked/index.js`.
44
+
45
+ * -t, --tokens
46
+ Output a token list instead of html.
47
+
48
+ * -n, --no-clobber
49
+ Do not overwrite `output` if it exists.
50
+
51
+ * --pedantic
52
+ Conform to obscure parts of markdown.pl as much as possible.
53
+ Don't fix original markdown bugs.
54
+
55
+ * --gfm
56
+ Enable github flavored markdown.
57
+
58
+ * --breaks
59
+ Enable GFM line breaks. Only works with the gfm option.
60
+
61
+ * --no-breaks, -no-etc...
62
+ The inverse of any of the marked options above.
63
+
64
+ * --silent
65
+ Silence error output.
66
+
67
+ * -h, --help
68
+ Display help information.
69
+
70
+ ## CONFIGURATION
71
+
72
+ For configuring and running programmatically.
73
+
74
+ Example
75
+
76
+ ```js
77
+ import { Marked } from 'marked';
78
+ const marked = new Marked({ gfm: true });
79
+ marked.parse('*foo*');
80
+ ```
81
+
82
+ ## BUGS
83
+
84
+ Please report any bugs to <https://github.com/markedjs/marked>.
85
+
86
+ ## LICENSE
87
+
88
+ Copyright (c) 2018+, MarkedJS. (MIT License)
89
+ Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License)
90
+
91
+ ## SEE ALSO
92
+
93
+ markdown(1), nodejs(1)
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "marked",
3
+ "description": "A markdown parser built for speed",
4
+ "author": "Christopher Jeffrey",
5
+ "version": "17.0.4",
6
+ "type": "module",
7
+ "main": "./lib/marked.esm.js",
8
+ "module": "./lib/marked.esm.js",
9
+ "browser": "./lib/marked.umd.js",
10
+ "types": "./lib/marked.d.ts",
11
+ "bin": {
12
+ "marked": "bin/marked.js"
13
+ },
14
+ "man": "./man/marked.1",
15
+ "files": [
16
+ "bin/",
17
+ "lib/",
18
+ "man/"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "types": "./lib/marked.d.ts",
23
+ "default": "./lib/marked.esm.js"
24
+ },
25
+ "./bin/marked": "./bin/marked.js",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "publishConfig": {
29
+ "provenance": true
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git://github.com/markedjs/marked.git"
34
+ },
35
+ "homepage": "https://marked.js.org",
36
+ "bugs": {
37
+ "url": "http://github.com/markedjs/marked/issues"
38
+ },
39
+ "license": "MIT",
40
+ "keywords": [
41
+ "markdown",
42
+ "markup",
43
+ "html"
44
+ ],
45
+ "tags": [
46
+ "markdown",
47
+ "markup",
48
+ "html"
49
+ ],
50
+ "devDependencies": {
51
+ "@arethetypeswrong/cli": "^0.18.2",
52
+ "@markedjs/eslint-config": "^1.0.14",
53
+ "@markedjs/testutils": "17.0.1-2",
54
+ "@semantic-release/commit-analyzer": "^13.0.1",
55
+ "@semantic-release/git": "^10.0.1",
56
+ "@semantic-release/github": "^12.0.6",
57
+ "@semantic-release/npm": "^13.1.5",
58
+ "@semantic-release/release-notes-generator": "^14.1.0",
59
+ "cheerio": "1.2.0",
60
+ "commonmark": "0.31.2",
61
+ "cross-env": "^10.1.0",
62
+ "dts-bundle-generator": "^9.5.1",
63
+ "esbuild": "^0.27.3",
64
+ "esbuild-plugin-umd-wrapper": "^3.0.0",
65
+ "eslint": "^10.0.2",
66
+ "highlight.js": "^11.11.1",
67
+ "markdown-it": "14.1.1",
68
+ "marked-highlight": "^2.2.3",
69
+ "marked-man": "^2.1.0",
70
+ "recheck": "^4.5.0",
71
+ "rimraf": "^6.1.3",
72
+ "semantic-release": "^25.0.3",
73
+ "titleize": "^4.0.0",
74
+ "tslib": "^2.8.1",
75
+ "typescript": "5.9.3"
76
+ },
77
+ "scripts": {
78
+ "bench": "npm run build && node test/bench.js",
79
+ "build": "npm run build:esbuild && npm run build:types && npm run build:man",
80
+ "build:docs": "npm run build && node docs/build.js",
81
+ "build:esbuild": "node esbuild.config.js",
82
+ "build:man": "marked-man man/marked.1.md > man/marked.1",
83
+ "build:reset": "rimraf ./lib ./public",
84
+ "build:types": "tsc && dts-bundle-generator --export-referenced-types --project tsconfig.json -o lib/marked.d.ts src/marked.ts",
85
+ "lint": "eslint --fix",
86
+ "rules": "node test/rules.js",
87
+ "test": "npm run build:reset && npm run build:docs && npm run test:specs && npm run test:unit && npm run test:umd && npm run test:cjs && npm run test:types && npm run test:lint",
88
+ "test:cjs": "node test/cjs-test.cjs",
89
+ "test:lint": "eslint",
90
+ "test:only": "npm run build && npm run test:specs:only && npm run test:unit:only",
91
+ "test:redos": "node test/recheck.js > vuln.js",
92
+ "test:specs:only": "node --test --test-only --test-reporter=spec test/run-spec-tests.js",
93
+ "test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
94
+ "test:types": "tsc --project tsconfig-type-test.json && attw -P --entrypoints . --profile esm-only",
95
+ "test:umd": "node test/umd-test.js",
96
+ "test:unit:only": "node --test --test-only --test-reporter=spec test/unit/*.test.js",
97
+ "test:unit": "node --test --test-reporter=spec test/unit/*.test.js",
98
+ "test:update": "node test/update-specs.js"
99
+ },
100
+ "engines": {
101
+ "node": ">= 20"
102
+ }
103
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntrologie/adapt-faq",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Adaptive FAQ - Collapsible Q&A accordion with per-item conditional visibility",
5
5
  "license": "Proprietary",
6
6
  "private": false,
@@ -53,21 +53,21 @@
53
53
  "dependencies": {
54
54
  "@syntro/design-system": "*",
55
55
  "@syntrologie/sdk-contracts": "*",
56
- "@syntrologie/shared-editor-ui": "*"
56
+ "@syntrologie/shared-editor-ui": "*",
57
+ "marked": "17.0.4"
57
58
  },
58
59
  "devDependencies": {
59
- "@syntro/design-system": "^1.0.0",
60
+ "@syntro/design-system": "1.0.0",
60
61
  "@syntrologie/shared-editor-ui": "*",
61
- "marked": "^17.0.4",
62
- "@testing-library/react": "^16.3.2",
63
- "@types/react": "^19.2.0",
64
- "@types/react-dom": "^19.2.0",
65
- "jsdom": "^26.1.0",
66
- "react": "^19.2.0",
67
- "react-dom": "^19.2.0",
68
- "typescript": "^5.9.3",
69
- "vitest": "^4.0.18",
70
- "zod": "^3.25.76"
62
+ "@testing-library/react": "16.3.2",
63
+ "@types/react": "19.2.14",
64
+ "@types/react-dom": "19.2.3",
65
+ "jsdom": "26.1.0",
66
+ "react": "19.2.1",
67
+ "react-dom": "19.2.1",
68
+ "typescript": "5.9.3",
69
+ "vitest": "4.0.18",
70
+ "zod": "3.25.76"
71
71
  },
72
72
  "bundleDependencies": [
73
73
  "@syntro/design-system",