@record-evolution/widget-markdown 1.0.3 → 1.0.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.
- package/dist/widget-markdown.js +2 -2
- package/package.json +1 -1
- package/src/default-data.json +7 -1
package/dist/widget-markdown.js
CHANGED
|
@@ -5550,7 +5550,7 @@ te.registerLanguage("css", Ii);
|
|
|
5550
5550
|
te.registerLanguage("plaintext", Ei);
|
|
5551
5551
|
let me = class extends qe {
|
|
5552
5552
|
constructor() {
|
|
5553
|
-
super(), this.version = "1.0.
|
|
5553
|
+
super(), this.version = "1.0.4", this.marked = new Yn(
|
|
5554
5554
|
hi({
|
|
5555
5555
|
emptyLangClass: "hljs",
|
|
5556
5556
|
langPrefix: "hljs language-",
|
|
@@ -5667,7 +5667,7 @@ Le([
|
|
|
5667
5667
|
Wt()
|
|
5668
5668
|
], me.prototype, "themeSubtitleColor", 2);
|
|
5669
5669
|
me = Le([
|
|
5670
|
-
Pi("widget-markdown-1.0.
|
|
5670
|
+
Pi("widget-markdown-1.0.4")
|
|
5671
5671
|
], me);
|
|
5672
5672
|
export {
|
|
5673
5673
|
me as WidgetMarkdown
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent widget-markdown following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "widget-markdown",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/widget-markdown.js",
|
|
9
9
|
"types": "dist/src/widget-markdown.d.ts",
|
package/src/default-data.json
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"markdown": "# Markdown Showcase\n\n## Text formatting\nNormal, **bold**, *italic*, ~~strikethrough~~, and `inline code`.\n\n> A blockquote with some *emphasis* and **bold**.\n\n---\n\n## Links & Images\n\n\n\n[Google](https://google.com)\n\n## Lists\n\n- Unordered item\n - Nested item\n- Another item\n\n1. Ordered list\n2. Second item\n 1. Nested ordered\n 2. Another\n\n---\n\n---\n\n## Code blocks\n\n```python\ndef greet(name):\n print(f\"Hello, {name}!\")\n\ngreet(\"Markdown\")\n```\n\n---\n\n## Tables\n\n| Name | Age | Role |\n|:---------|:---:|-------------:|\n| Alice | 25 | Developer |\n| Bob | 30 | Designer |\n| Charlie | 28 | Product Mgr |\n\n---\n\n## Task lists\n\n- [x] Write Markdown\n- [ ] Preview it\n- [ ] Share it\n\n---\n\n## \n"
|
|
2
|
+
"markdown": "# Markdown Showcase\n\n **Inline Data Demo:** Current Temperature {{temperature}} °C \n\n ## Text formatting\nNormal, **bold**, *italic*, ~~strikethrough~~, and `inline code`.\n\n> A blockquote with some *emphasis* and **bold**.\n\n---\n\n## Links & Images\n\n\n\n[Google](https://google.com)\n\n## Lists\n\n- Unordered item\n - Nested item\n- Another item\n\n1. Ordered list\n2. Second item\n 1. Nested ordered\n 2. Another\n\n---\n\n---\n\n## Code blocks\n\n```python\ndef greet(name):\n print(f\"Hello, {name}!\")\n\ngreet(\"Markdown\")\n```\n\n---\n\n## Tables\n\n| Name | Age | Role |\n|:---------|:---:|-------------:|\n| Alice | 25 | Developer |\n| Bob | 30 | Designer |\n| Charlie | 28 | Product Mgr |\n\n---\n\n## Task lists\n\n- [x] Write Markdown\n- [ ] Preview it\n- [ ] Share it\n\n---\n\n## \n",
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"label": "temperature",
|
|
6
|
+
"value": "23"
|
|
7
|
+
}
|
|
8
|
+
]
|
|
3
9
|
}
|