@digipair/skill-marked 0.118.1
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 +7 -0
- package/dist/index.cjs.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2271 -0
- package/dist/schema.fr.json +49 -0
- package/dist/schema.json +49 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/lib/skill-marked.d.ts +3 -0
- package/dist/src/lib/skill-marked.d.ts.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-marked",
|
|
5
|
+
"summary": "Markdown vers HTML",
|
|
6
|
+
"description": "Cette compétence vous permet de convertir du texte markdown en HTML en utilisant la bibliothèque marked.",
|
|
7
|
+
"version": "0.0.1",
|
|
8
|
+
"x-icon": "📝"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/convert": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": [
|
|
14
|
+
"service"
|
|
15
|
+
],
|
|
16
|
+
"summary": "Convertir Markdown vers HTML",
|
|
17
|
+
"parameters": [
|
|
18
|
+
{
|
|
19
|
+
"name": "text",
|
|
20
|
+
"summary": "Texte Markdown",
|
|
21
|
+
"required": true,
|
|
22
|
+
"description": "Le texte markdown à convertir en HTML",
|
|
23
|
+
"schema": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"x-events": [],
|
|
29
|
+
"responses": {
|
|
30
|
+
"200": {
|
|
31
|
+
"description": "Conversion Markdown réussie",
|
|
32
|
+
"content": {
|
|
33
|
+
"application/json": {
|
|
34
|
+
"schema": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Le résultat HTML converti"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"components": {
|
|
46
|
+
"schemas": {}
|
|
47
|
+
},
|
|
48
|
+
"x-scene-blocks": {}
|
|
49
|
+
}
|
package/dist/schema.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-marked",
|
|
5
|
+
"summary": "Markdown to HTML",
|
|
6
|
+
"description": "This skill allows you to convert markdown text to HTML using the marked library.",
|
|
7
|
+
"version": "0.0.1",
|
|
8
|
+
"x-icon": "📝"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/convert": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": [
|
|
14
|
+
"service"
|
|
15
|
+
],
|
|
16
|
+
"summary": "Convert Markdown to HTML",
|
|
17
|
+
"parameters": [
|
|
18
|
+
{
|
|
19
|
+
"name": "text",
|
|
20
|
+
"summary": "Markdown text",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "The markdown text to convert to HTML",
|
|
23
|
+
"schema": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"x-events": [],
|
|
29
|
+
"responses": {
|
|
30
|
+
"200": {
|
|
31
|
+
"description": "Markdown conversion successful",
|
|
32
|
+
"content": {
|
|
33
|
+
"application/json": {
|
|
34
|
+
"schema": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The converted HTML output"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"components": {
|
|
46
|
+
"schemas": {}
|
|
47
|
+
},
|
|
48
|
+
"x-scene-blocks": {}
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-marked.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-marked.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAchD,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACd,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@digipair/skill-marked",
|
|
3
|
+
"version": "0.118.1",
|
|
4
|
+
"main": "./dist/index.cjs.js",
|
|
5
|
+
"module": "./dist/index.esm.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"digipair",
|
|
9
|
+
"web",
|
|
10
|
+
"service",
|
|
11
|
+
"tool"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.esm.js",
|
|
17
|
+
"default": "./dist/index.cjs.js"
|
|
18
|
+
},
|
|
19
|
+
"./index.esm.js": "./dist/index.esm.js",
|
|
20
|
+
"./index.cjs.js": "./dist/index.cjs.js",
|
|
21
|
+
"./package.json": "./package.json",
|
|
22
|
+
"./schema.json": "./dist/schema.json",
|
|
23
|
+
"./schema.fr.json": "./dist/schema.fr.json"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"package.json"
|
|
29
|
+
],
|
|
30
|
+
"nx": {
|
|
31
|
+
"name": "skill-marked"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"marked": "17.0.1"
|
|
35
|
+
}
|
|
36
|
+
}
|