@farming-labs/svelte 0.1.6 → 0.1.8

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.
Files changed (2) hide show
  1. package/dist/markdown.js +1 -1
  2. package/package.json +2 -2
package/dist/markdown.js CHANGED
@@ -354,7 +354,7 @@ export async function renderMarkdown(content, options = {}) {
354
354
  const rowsHtml = rows
355
355
  .map((row) => `<tr>${row.map((c) => `<td>${c}</td>`).join("")}</tr>`)
356
356
  .join("");
357
- return `<div class="fd-table-wrapper"><table><thead><tr>${headerHtml}</tr></thead><tbody>${rowsHtml}</tbody></table></div>`;
357
+ return `<div class="fd-table-wrapper relative overflow-auto prose-no-margin my-6"><table><thead><tr>${headerHtml}</tr></thead><tbody>${rowsHtml}</tbody></table></div>`;
358
358
  });
359
359
  // Unordered lists
360
360
  result = result.replace(/(?:^- .+\n?)+/gm, (block) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/svelte",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "SvelteKit adapter for @farming-labs/docs — content loading and navigation utilities",
5
5
  "keywords": [
6
6
  "docs",
@@ -56,7 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@types/node": "^22.10.0",
58
58
  "typescript": "^5.9.3",
59
- "@farming-labs/docs": "0.1.6"
59
+ "@farming-labs/docs": "0.1.8"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@farming-labs/docs": "*"