diff --git a/.vscode/settings.json b/.vscode/settings.json
index 5058d10..0ec6378 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -39,30 +39,5 @@
"event": "onFileChange"
}
],
- "i18n-ally.localesPaths": [],
- "workbench.colorCustomizations": {
- "activityBar.activeBackground": "#296221",
- "activityBar.background": "#296221",
- "activityBar.foreground": "#ffffff",
- "activityBar.inactiveForeground": "#ffffff99",
- "activityBarBadge.background": "#2fce11",
- "activityBarBadge.foreground": "#15202b",
- "commandCenter.border": "#00000099",
- "editorGroup.border": "#296221",
- "panel.border": "#296221",
- "sash.hoverBorder": "#296221",
- "sideBar.border": "#296221",
- "statusBar.background": "#58585a",
- "statusBar.border": "#58585a",
- "statusBar.foreground": "#ffffff",
- "statusBarItem.hoverBackground": "#296221",
- "statusBarItem.remoteBackground": "#58585a",
- "statusBarItem.remoteForeground": "#ffffff",
- "tab.activeBorder": "#296221",
- "titleBar.activeBackground": "#58585a",
- "titleBar.activeForeground": "#ffffff",
- "titleBar.border": "#58585a",
- "titleBar.inactiveBackground": "#58585a99",
- "titleBar.inactiveForeground": "#ffffff99"
- }
+ "i18n-ally.localesPaths": []
}
diff --git a/.yarn/cache/html-parser-lite-npm-0.2.2-9a63da37bf-77c7f66156.zip b/.yarn/cache/html-parser-lite-npm-0.2.2-9a63da37bf-77c7f66156.zip
new file mode 100644
index 0000000..6737ffa
--- /dev/null
+++ b/.yarn/cache/html-parser-lite-npm-0.2.2-9a63da37bf-77c7f66156.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:62061f44c65109e5fe6fdbf0abb88f59085da5b4c97c957bd25e0d06e22def66
+size 12092
diff --git a/.yarn/global/cache/html-parser-lite-npm-0.2.2-9a63da37bf-8.zip b/.yarn/global/cache/html-parser-lite-npm-0.2.2-9a63da37bf-8.zip
new file mode 100644
index 0000000..d1a7d43
Binary files /dev/null and b/.yarn/global/cache/html-parser-lite-npm-0.2.2-9a63da37bf-8.zip differ
diff --git a/.yarn/global/telemetry.json b/.yarn/global/telemetry.json
index 50aa843..16b06ac 100644
--- a/.yarn/global/telemetry.json
+++ b/.yarn/global/telemetry.json
@@ -4,7 +4,7 @@
"*": {
"hits": {
"installCount": {
- "node-modules": 2
+ "node-modules": 4
}
},
"values": {
@@ -16,13 +16,15 @@
],
"commandName": [
"upgrade-interactive",
- "add"
+ "add",
+ "install"
],
"workspaceCount": [
"1"
],
"dependencyCount": [
- "39"
+ "39",
+ "40"
]
},
"enumerators": {
diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz
index a82b05d..32dcb1b 100644
Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ
diff --git a/package.json b/package.json
index 2e0ff4a..95b6cf3 100644
--- a/package.json
+++ b/package.json
@@ -59,6 +59,7 @@
"@sentry/tracing": "^7.20.0",
"@splidejs/svelte-splide": "^0.2.9",
"core-js": "3.26.1",
+ "html-parser-lite": "^0.2.2",
"mdi-svelte": "^1.1.2",
"svelte-i18n": "^3.4.0"
},
diff --git a/src/components/App.svelte b/src/components/App.svelte
index e5131ca..bf132c0 100644
--- a/src/components/App.svelte
+++ b/src/components/App.svelte
@@ -10,6 +10,10 @@
import Header from "./widgets/Header.svelte"
import Footer from "./widgets/Footer.svelte"
+ import "./customTags"
+ import CustomTags from "./customTags/CustomTags.svelte"
+ import tags from "./customTags"
+
export let url = ""
if (url) {
@@ -60,6 +64,14 @@
+
+
diff --git a/src/components/customTags/CustomTags.svelte b/src/components/customTags/CustomTags.svelte
new file mode 100644
index 0000000..416b818
--- /dev/null
+++ b/src/components/customTags/CustomTags.svelte
@@ -0,0 +1,15 @@
+
+
+
+
+
diff --git a/src/components/customTags/CustomTagsChildren.svelte b/src/components/customTags/CustomTagsChildren.svelte
new file mode 100644
index 0000000..dec309a
--- /dev/null
+++ b/src/components/customTags/CustomTagsChildren.svelte
@@ -0,0 +1,24 @@
+
+
+{#each nodes as node (node)}
+ {#if node.nodeType == TEXT_NODE}{node.textContent}{:else if node.nodeType == ELEMENT_NODE}
+ {#if tags[node.tagName]}
+
+ {:else}
+
+ {/if}
+ {/if}
+{/each}
diff --git a/src/components/customTags/MyModule.svelte b/src/components/customTags/MyModule.svelte
new file mode 100644
index 0000000..f818c1a
--- /dev/null
+++ b/src/components/customTags/MyModule.svelte
@@ -0,0 +1,10 @@
+
+
+
+
{title}
+
{description}
+
+
diff --git a/src/components/customTags/index.ts b/src/components/customTags/index.ts
new file mode 100644
index 0000000..39502c2
--- /dev/null
+++ b/src/components/customTags/index.ts
@@ -0,0 +1,5 @@
+import MyModule from "./MyModule.svelte"
+
+export default {
+ "my-module": MyModule,
+}
diff --git a/yarn.lock b/yarn.lock
index fe0fee5..04523bb 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5308,6 +5308,13 @@ __metadata:
languageName: node
linkType: hard
+"html-parser-lite@npm:^0.2.2":
+ version: 0.2.2
+ resolution: "html-parser-lite@npm:0.2.2"
+ checksum: 77c7f66156c6af9bea69957ab833dbd9dd6f042d35c67abe4db70949f0440dd95cc8aca543a7d53bd535dca7806397741bb1f56b6905c64abacd16a2db025674
+ languageName: node
+ linkType: hard
+
"http-auth@npm:3.1.x":
version: 3.1.3
resolution: "http-auth@npm:3.1.3"
@@ -8604,6 +8611,7 @@ __metadata:
cypress-terminal-report: ^4.1.2
esbuild: ^0.15.14
esbuild-svelte: ^0.7.3
+ html-parser-lite: ^0.2.2
http-proxy-middleware: ^2.0.6
less: ^4.1.3
live-server: ^1.2.2