@record-evolution/widget-markdown 1.0.5 → 1.0.7
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 +25 -2
- package/dist/widget-markdown.js.map +1 -1
- package/package.json +5 -4
- package/src/widget-markdown.ts +23 -0
- package/thumbnail.webp +0 -0
package/dist/widget-markdown.js
CHANGED
|
@@ -5550,7 +5550,7 @@ te.registerLanguage("css", Ii);
|
|
|
5550
5550
|
te.registerLanguage("plaintext", vi);
|
|
5551
5551
|
let le = class extends qe {
|
|
5552
5552
|
constructor() {
|
|
5553
|
-
super(), this.version = "1.0.
|
|
5553
|
+
super(), this.version = "1.0.7", this.marked = new Yn(
|
|
5554
5554
|
hi({
|
|
5555
5555
|
emptyLangClass: "hljs",
|
|
5556
5556
|
langPrefix: "hljs language-",
|
|
@@ -5639,6 +5639,29 @@ le.styles = [
|
|
|
5639
5639
|
overflow: auto;
|
|
5640
5640
|
padding: 1cqh 1cqw;
|
|
5641
5641
|
box-sizing: border-box;
|
|
5642
|
+
/* Derive scrollbar colors from the (inherited) text color so they
|
|
5643
|
+
follow custom styles and themes — e.g. light thumb on dark bg. */
|
|
5644
|
+
scrollbar-width: thin;
|
|
5645
|
+
scrollbar-color: color-mix(in srgb, currentColor 35%, transparent) transparent;
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5648
|
+
/* WebKit/Blink fallback for browsers without scrollbar-color support. */
|
|
5649
|
+
.wrapper::-webkit-scrollbar {
|
|
5650
|
+
width: 8px;
|
|
5651
|
+
height: 8px;
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
.wrapper::-webkit-scrollbar-track {
|
|
5655
|
+
background: transparent;
|
|
5656
|
+
}
|
|
5657
|
+
|
|
5658
|
+
.wrapper::-webkit-scrollbar-thumb {
|
|
5659
|
+
background-color: color-mix(in srgb, currentColor 35%, transparent);
|
|
5660
|
+
border-radius: 4px;
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
.wrapper::-webkit-scrollbar-thumb:hover {
|
|
5664
|
+
background-color: color-mix(in srgb, currentColor 55%, transparent);
|
|
5642
5665
|
}
|
|
5643
5666
|
|
|
5644
5667
|
h2 {
|
|
@@ -5687,7 +5710,7 @@ ye([
|
|
|
5687
5710
|
Ye()
|
|
5688
5711
|
], le.prototype, "lastMarkdown", 2);
|
|
5689
5712
|
le = ye([
|
|
5690
|
-
Pi("widget-markdown-1.0.
|
|
5713
|
+
Pi("widget-markdown-1.0.7")
|
|
5691
5714
|
], le);
|
|
5692
5715
|
export {
|
|
5693
5716
|
le as WidgetMarkdown
|