@vortexm/vjt 0.1.9 → 0.1.10

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/index.js CHANGED
@@ -6315,7 +6315,7 @@ var VERTICAL_ALIGN_MAP2 = { top: "flex-start", center: "center", bottom: "flex-e
6315
6315
  var markdownConverter = new import_showdown.default.Converter({
6316
6316
  simpleLineBreaks: true,
6317
6317
  ghCompatibleHeaderId: true,
6318
- tables: false,
6318
+ tables: true,
6319
6319
  strikethrough: false,
6320
6320
  tasklists: false
6321
6321
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vortexm/vjt",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/vjt-styles.css CHANGED
@@ -122,6 +122,29 @@ body {
122
122
  background: color-mix(in srgb, var(--vjt-surface-muted) 86%, transparent);
123
123
  }
124
124
 
125
+ .vjt-md-text-body table {
126
+ width: 100%;
127
+ border-collapse: collapse;
128
+ margin: 10px 0;
129
+ overflow: hidden;
130
+ border: 1px solid var(--vjt-border);
131
+ border-radius: 12px;
132
+ background: color-mix(in srgb, var(--vjt-surface) 92%, transparent);
133
+ }
134
+
135
+ .vjt-md-text-body th,
136
+ .vjt-md-text-body td {
137
+ padding: 10px 12px;
138
+ border: 1px solid color-mix(in srgb, var(--vjt-border) 78%, transparent);
139
+ text-align: left;
140
+ vertical-align: top;
141
+ }
142
+
143
+ .vjt-md-text-body th {
144
+ font-weight: 700;
145
+ background: color-mix(in srgb, var(--vjt-surface-muted) 82%, transparent);
146
+ }
147
+
125
148
  .vjt-static-text:is(h1, h2, h3, h4, h5, h6) {
126
149
  font-family: var(--vjt-font-heading);
127
150
  letter-spacing: -0.02em;