vscode-colaview 0.4.5 → 0.4.6

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
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.4.6] - 2026-12-05
6
+
7
+ ### Fixed
8
+ - **README images on npm** — badges and theme thumbnails used relative paths that the npm package page cannot resolve, so every image was broken. They now use absolute URLs and render on npm, GitHub and the Marketplace page.
9
+
10
+ ### Changed
11
+ - **Version badge** — updated to 0.4.6.
12
+ - **Documentation links** — README file links now point to the repository instead of missing files on the npm page.
13
+
5
14
  ## [0.4.5] - 2026-12-05
6
15
 
7
16
  ### Added
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # ColaView MD
2
2
 
3
- [English](README.md) · [中文](README_CN.md)
3
+ [English](https://github.com/byteuser1977/vscode-colaview/blob/develop/README.md) · [中文](https://github.com/byteuser1977/vscode-colaview/blob/develop/README_CN.md)
4
4
 
5
- [![Star on GitHub](assets/badges/star.png)](https://github.com/byteuser1977/vscode-colaview/stargazers)
5
+ [![Star on GitHub](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/star.png)](https://github.com/byteuser1977/vscode-colaview/stargazers)
6
6
 
7
- [![VS Code](assets/badges/vscode.png)](https://code.visualstudio.com/)
8
- [![TypeScript](assets/badges/typescript.png)](https://www.typescriptlang.org/)
9
- [![License](assets/badges/license.png)](LICENSE)
10
- [![Version](assets/badges/version.png)](package.json)
7
+ [![VS Code](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/vscode.png)](https://code.visualstudio.com/)
8
+ [![TypeScript](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/typescript.png)](https://www.typescriptlang.org/)
9
+ [![License](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/license.png)](https://github.com/byteuser1977/vscode-colaview/blob/develop/LICENSE)
10
+ [![Version](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/version.png)](https://github.com/byteuser1977/vscode-colaview/blob/develop/package.json)
11
11
 
12
12
  > Rich Markdown preview · slide presenting · **HTML / A4 PDF / 16:9 slide PDF / Word / PPTX** export — one theme across preview and paper.
13
13
 
@@ -17,7 +17,7 @@ Rich Markdown preview & export for VS Code — powered by the [ColaMD](https://g
17
17
 
18
18
  ## Install & First Use
19
19
 
20
- 1. **Install** — search **ColaView MD** (ID `bytechain.vscode-colaview`) in the VS Code Marketplace, or [install from the Marketplace page](https://marketplace.visualstudio.com/items?itemName=bytechain.vscode-colaview); a `.vsix` can be installed with `code --install-extension vscode-colaview-0.4.5.vsix`.
20
+ 1. **Install** — search **ColaView MD** (ID `bytechain.vscode-colaview`) in the VS Code Marketplace, or [install from the Marketplace page](https://marketplace.visualstudio.com/items?itemName=bytechain.vscode-colaview); a `.vsix` can be installed with `code --install-extension vscode-colaview-0.4.6.vsix`.
21
21
  2. **Open a document** — open any `.md` file in VS Code.
22
22
  3. **Open the preview** — press `Ctrl+Alt+V` (macOS `Cmd+Alt+V`) or run **“Markdown Preview”** from the Command Palette; `Ctrl+Alt+S` switches to the **slides preview**.
23
23
  4. **Pick a theme** — right-click inside the preview → **Theme**, grouped into Built-in · Light / Built-in · Dark / Custom; import any `.css` as a custom theme.
@@ -33,11 +33,11 @@ Every thumbnail below is a **real export** of the same document rendered with th
33
33
 
34
34
  | Elegant | Dark | Sepia | Notion |
35
35
  |:--:|:--:|:--:|:--:|
36
- | ![elegant](assets/gallery/builtin-elegant.png) | ![dark](assets/gallery/builtin-dark.png) | ![sepia](assets/gallery/builtin-sepia.png) | ![notion](assets/gallery/builtin-notion.png) |
36
+ | ![elegant](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-elegant.png) | ![dark](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-dark.png) | ![sepia](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-sepia.png) | ![notion](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-notion.png) |
37
37
 
38
38
  | Academic Paper | Forest Ink | Pink Script Dark | Swiss Design |
39
39
  |:--:|:--:|:--:|:--:|
40
- | ![academic-paper](assets/gallery/academic-paper.png) | ![forest-ink](assets/gallery/forest-ink.png) | ![pink-script-dark](assets/gallery/pink-script-dark.png) | ![swiss-design](assets/gallery/swiss-design.png) |
40
+ | ![academic-paper](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/academic-paper.png) | ![forest-ink](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/forest-ink.png) | ![pink-script-dark](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/pink-script-dark.png) | ![swiss-design](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/swiss-design.png) |
41
41
 
42
42
  <sub>More themes live in [ColaMD-themes](https://github.com/byteuser1977/ColaMD-themes) (57 contract themes + 12 built-in themes); drop any `.css` into your workspace `.themes/` folder and it appears in the extension.</sub>
43
43
 
@@ -239,7 +239,7 @@ src/
239
239
  ## Development
240
240
 
241
241
  ```bash
242
- git clone https://github.com/bytechain/vscode-colaview.git
242
+ git clone https://github.com/byteuser1977/vscode-colaview.git
243
243
  cd vscode-colaview
244
244
  npm install
245
245
 
@@ -268,11 +268,11 @@ The project uses **esbuild** for bundling — the extension side (`out/extension
268
268
 
269
269
  ## Version & Release Notes
270
270
 
271
- - Current: **v0.4.5** — GitHub Star entry in the README; slide styling aligned with the reference deck across preview, presenting and PDF
272
- - Full changelog: [CHANGELOG.md](CHANGELOG.md)
273
- - Release highlights: [RELEASE_NOTES.md](RELEASE_NOTES.md)
271
+ - Current: **v0.4.6** — README badges and theme thumbnails now also render on the npm package page
272
+ - Full changelog: [CHANGELOG.md](https://github.com/byteuser1977/vscode-colaview/blob/develop/CHANGELOG.md)
273
+ - Release highlights: [RELEASE_NOTES.md](https://github.com/byteuser1977/vscode-colaview/blob/develop/RELEASE_NOTES.md)
274
274
 
275
275
  ## License
276
276
 
277
- [MIT](LICENSE)
277
+ [MIT](https://github.com/byteuser1977/vscode-colaview/blob/develop/LICENSE)
278
278
 
package/README_CN.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # ColaView MD
2
2
 
3
- [English](README.md) · [中文](README_CN.md)
3
+ [English](https://github.com/byteuser1977/vscode-colaview/blob/develop/README.md) · [中文](https://github.com/byteuser1977/vscode-colaview/blob/develop/README_CN.md)
4
4
 
5
- [![Star on GitHub](assets/badges/star.png)](https://github.com/byteuser1977/vscode-colaview/stargazers)
5
+ [![Star on GitHub](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/star.png)](https://github.com/byteuser1977/vscode-colaview/stargazers)
6
6
 
7
- [![VS Code](assets/badges/vscode.png)](https://code.visualstudio.com/)
8
- [![TypeScript](assets/badges/typescript.png)](https://www.typescriptlang.org/)
9
- [![License](assets/badges/license.png)](LICENSE)
10
- [![Version](assets/badges/version.png)](package.json)
7
+ [![VS Code](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/vscode.png)](https://code.visualstudio.com/)
8
+ [![TypeScript](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/typescript.png)](https://www.typescriptlang.org/)
9
+ [![License](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/license.png)](https://github.com/byteuser1977/vscode-colaview/blob/develop/LICENSE)
10
+ [![Version](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/version.png)](https://github.com/byteuser1977/vscode-colaview/blob/develop/package.json)
11
11
 
12
12
  > 富文本 Markdown 预览 · 幻灯片放映 · **HTML / A4 PDF / 16:9 幻灯片 PDF / Word / PPTX** 导出,一套主题贯穿预览与纸面。
13
13
 
@@ -17,7 +17,7 @@ VS Code 富文本 Markdown 预览与导出扩展 — 基于 [ColaMD](https://git
17
17
 
18
18
  ## 安装与首次使用
19
19
 
20
- 1. **安装扩展** — 在 VS Code 扩展市场搜索 **ColaView MD**(ID `bytechain.vscode-colaview`),或[从市场页安装](https://marketplace.visualstudio.com/items?itemName=bytechain.vscode-colaview);也可下载 `.vsix` 后执行 `code --install-extension vscode-colaview-0.4.5.vsix`。
20
+ 1. **安装扩展** — 在 VS Code 扩展市场搜索 **ColaView MD**(ID `bytechain.vscode-colaview`),或[从市场页安装](https://marketplace.visualstudio.com/items?itemName=bytechain.vscode-colaview);也可下载 `.vsix` 后执行 `code --install-extension vscode-colaview-0.4.6.vsix`。
21
21
  2. **打开文档** — 在 VS Code 中打开任意 `.md` 文件。
22
22
  3. **打开预览** — 按 `Ctrl+Alt+V`(macOS `Cmd+Alt+V`),或命令面板运行 **「MD-预览」**;按 `Ctrl+Alt+S` 切换到 **幻灯片预览**。
23
23
  4. **换主题** — 预览面板内右键 → **主题**,按「内置 · 亮色 / 内置 · 暗色 / 自定义」分组选择;也可导入 `.css` 自定义主题。
@@ -33,11 +33,11 @@ VS Code 富文本 Markdown 预览与导出扩展 — 基于 [ColaMD](https://git
33
33
 
34
34
  | Elegant | Dark | Sepia | Notion |
35
35
  |:--:|:--:|:--:|:--:|
36
- | ![elegant](assets/gallery/builtin-elegant.png) | ![dark](assets/gallery/builtin-dark.png) | ![sepia](assets/gallery/builtin-sepia.png) | ![notion](assets/gallery/builtin-notion.png) |
36
+ | ![elegant](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-elegant.png) | ![dark](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-dark.png) | ![sepia](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-sepia.png) | ![notion](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/builtin-notion.png) |
37
37
 
38
38
  | Academic Paper | Forest Ink | Pink Script Dark | Swiss Design |
39
39
  |:--:|:--:|:--:|:--:|
40
- | ![academic-paper](assets/gallery/academic-paper.png) | ![forest-ink](assets/gallery/forest-ink.png) | ![pink-script-dark](assets/gallery/pink-script-dark.png) | ![swiss-design](assets/gallery/swiss-design.png) |
40
+ | ![academic-paper](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/academic-paper.png) | ![forest-ink](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/forest-ink.png) | ![pink-script-dark](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/pink-script-dark.png) | ![swiss-design](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/gallery/swiss-design.png) |
41
41
 
42
42
  <sub>更多主题可在 [ColaMD-themes](https://github.com/byteuser1977/ColaMD-themes) 获取(57 套范式主题 + 12 套内置主题),把 `.css` 放进工作区 `.themes/` 即可在扩展中直接使用。</sub>
43
43
 
@@ -239,7 +239,7 @@ src/
239
239
  ## 开发
240
240
 
241
241
  ```bash
242
- git clone https://github.com/bytechain/vscode-colaview.git
242
+ git clone https://github.com/byteuser1977/vscode-colaview.git
243
243
  cd vscode-colaview
244
244
  npm install
245
245
 
@@ -268,11 +268,11 @@ npm run package
268
268
 
269
269
  ## 版本与更新记录
270
270
 
271
- - 当前版本:**v0.4.5** — README 顶部新增 GitHub Star 入口;预览 / 放映 / 导出统一套用主题幻灯片样式,与参照稿对齐
272
- - 完整变更:[CHANGELOG.md](CHANGELOG.md)
273
- - 版本亮点:[RELEASE_NOTES.md](RELEASE_NOTES.md)
271
+ - 当前版本:**v0.4.6** — README 徽章与主题缩略图在 npm 包页面也能正常显示
272
+ - 完整变更:[CHANGELOG.md](https://github.com/byteuser1977/vscode-colaview/blob/develop/CHANGELOG.md)
273
+ - 版本亮点:[RELEASE_NOTES.md](https://github.com/byteuser1977/vscode-colaview/blob/develop/RELEASE_NOTES.md)
274
274
 
275
275
  ## 许可证
276
276
 
277
- [MIT](LICENSE)
277
+ [MIT](https://github.com/byteuser1977/vscode-colaview/blob/develop/LICENSE)
278
278
 
package/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release Notes
2
2
 
3
+ ## v0.4.6 (2026-12-05)
4
+
5
+ ### 🖼️ README Images Now Render on npm
6
+
7
+ The npm package page showed every badge and theme thumbnail as a broken image, because the README referenced them by relative paths that npm cannot resolve.
8
+
9
+ - all badges and theme thumbnails now use absolute URLs, so they display on npm, GitHub and the Marketplace page;
10
+ - the Version badge is updated to 0.4.6;
11
+ - documentation links in the README now open the repository files instead of missing pages on npm.
12
+
3
13
  ## v0.4.5 (2026-12-05)
4
14
 
5
15
  ### ⭐ Star the Project from the README
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vscode-colaview",
3
3
  "displayName": "ColaView MD",
4
- "version": "0.4.5",
4
+ "version": "0.4.6",
5
5
  "publisher": "bytechain",
6
6
  "description": "ColaMD Preview — Rich Markdown Preview & PDF/HTML Export for VSCode",
7
7
  "icon": "icon.png",