mdv-live 0.3.2 → 0.3.3

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/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.3] - 2026-01-31
9
+
10
+ ### Fixed
11
+
12
+ - Print preview missing padding on markdown content
13
+
8
14
  ## [0.3.2] - 2026-01-31
9
15
 
10
16
  ### Changed
package/bin/mdv.js CHANGED
@@ -447,7 +447,7 @@ async function main() {
447
447
  }
448
448
 
449
449
  if (values.version) {
450
- console.log('mdv v0.3.2');
450
+ console.log('mdv v0.3.3');
451
451
  process.exit(0);
452
452
  }
453
453
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdv-live",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Markdown Viewer - File tree + Live preview + Marp support + Hot reload",
5
5
  "main": "src/server.js",
6
6
  "bin": {
package/src/server.js CHANGED
@@ -17,7 +17,7 @@ import { setupWebSocket } from './websocket.js';
17
17
 
18
18
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
19
19
  const STATIC_DIR = path.join(__dirname, 'static');
20
- const VERSION = '0.3.2';
20
+ const VERSION = '0.3.3';
21
21
 
22
22
  /**
23
23
  * Setup API routes for the Express app
@@ -777,7 +777,7 @@ body {
777
777
 
778
778
  .main { width: 100% !important; }
779
779
  .content { flex: none !important; }
780
- .markdown-body { max-width: 100% !important; }
780
+ .markdown-body { max-width: 100% !important; padding: 0 20px !important; }
781
781
  .markdown-body img { max-width: 100% !important; }
782
782
  .markdown-body code { background: #f0f0f0 !important; }
783
783
  .markdown-body pre { background: #f8f8f8 !important; border: 1px solid #ddd !important; }