vscode-colaview 0.4.3 → 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,26 @@
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
+
14
+ ## [0.4.5] - 2026-12-05
15
+
16
+ ### Added
17
+ - **Star entry in the README** — a Star on GitHub badge at the top of the README links directly to the repository's stargazers page.
18
+
19
+ ## [0.4.4] - 2026-12-05
20
+
21
+ ### Fixed
22
+ - **README images and tables now display correctly** — the theme gallery renders as proper tables with working thumbnails, and the local badge images load in the editor preview, on GitHub and on the Marketplace page.
23
+ - **Marketplace README links resolve to the correct repository** — image and document links in the packaged README pointed to the wrong repository, which left every thumbnail broken on the extension page.
24
+
5
25
  ## [0.4.3] - 2026-12-05
6
26
 
7
27
  ### Fixed
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # ColaView MD
1
+ # ColaView MD
2
2
 
3
- <p align="right"><a href="README.md">English</a> | <a href="README_CN.md">中文</a></p>
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
- [![VS Code](https://img.shields.io/badge/VS_Code-1.85%2B-007ACC?logo=visual-studio-code)](https://code.visualstudio.com/)
6
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178C6?logo=typescript)](https://www.typescriptlang.org/)
7
- [![License](https://img.shields.io/badge/License-MIT-green)](LICENSE)
8
- [![Version](https://img.shields.io/badge/Version-0.4.3-orange)](package.json)
9
- [![GitHub stars](https://img.shields.io/github/stars/byteuser1977/vscode-colaview?style=flat&logo=github)](https://github.com/byteuser1977/vscode-colaview/stargazers)
10
- [![Marketplace](https://img.shields.io/visual-studio-marketplace/v/bytechain.vscode-colaview?style=flat&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=bytechain.vscode-colaview)
5
+ [![Star on GitHub](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/star.png)](https://github.com/byteuser1977/vscode-colaview/stargazers)
6
+
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.3.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.
@@ -31,13 +31,13 @@ If this extension helps you, please give the [GitHub repository](https://github.
31
31
 
32
32
  Every thumbnail below is a **real export** of the same document rendered with that theme's CSS — no mockups:
33
33
 
34
- | | | | |
34
+ | Elegant | Dark | Sepia | Notion |
35
35
  |:--:|:--:|:--:|:--:|
36
- | <img src="assets/gallery/builtin-elegant.png" width="186" alt="elegant"><br><sub><code>Elegant</code></sub> | <img src="assets/gallery/builtin-dark.png" width="186" alt="dark"><br><sub><code>Dark</code></sub> | <img src="assets/gallery/builtin-sepia.png" width="186" alt="sepia"><br><sub><code>Sepia</code></sub> | <img src="assets/gallery/builtin-notion.png" width="186" alt="notion"><br><sub><code>Notion</code></sub> |
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
- | <img src="assets/gallery/academic-paper.png" width="186" alt="academic-paper"><br><sub><code>Academic Paper</code></sub> | <img src="assets/gallery/forest-ink.png" width="186" alt="forest-ink"><br><sub><code>Forest Ink</code></sub> | <img src="assets/gallery/pink-script-dark.png" width="186" alt="pink-script-dark"><br><sub><code>Pink Script Dark</code></sub> | <img src="assets/gallery/swiss-design.png" width="186" alt="swiss-design"><br><sub><code>Swiss Design</code></sub> |
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.3** — 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
- # ColaView MD
1
+ # ColaView MD
2
2
 
3
- <p align="right"><a href="README.md">English</a> | <a href="README_CN.md">中文</a></p>
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
- [![VS Code](https://img.shields.io/badge/VS_Code-1.85%2B-007ACC?logo=visual-studio-code)](https://code.visualstudio.com/)
6
- [![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178C6?logo=typescript)](https://www.typescriptlang.org/)
7
- [![License](https://img.shields.io/badge/License-MIT-green)](LICENSE)
8
- [![Version](https://img.shields.io/badge/Version-0.4.3-orange)](package.json)
9
- [![GitHub stars](https://img.shields.io/github/stars/byteuser1977/vscode-colaview?style=flat&logo=github)](https://github.com/byteuser1977/vscode-colaview/stargazers)
10
- [![Marketplace](https://img.shields.io/visual-studio-marketplace/v/bytechain.vscode-colaview?style=flat&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=bytechain.vscode-colaview)
5
+ [![Star on GitHub](https://raw.githubusercontent.com/byteuser1977/vscode-colaview/develop/assets/badges/star.png)](https://github.com/byteuser1977/vscode-colaview/stargazers)
6
+
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.3.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` 自定义主题。
@@ -31,13 +31,13 @@ VS Code 富文本 Markdown 预览与导出扩展 — 基于 [ColaMD](https://git
31
31
 
32
32
  下面每张缩略图都是同一份文档经对应主题 CSS **真实导出**的结果(非效果图):
33
33
 
34
- | | | | |
34
+ | Elegant | Dark | Sepia | Notion |
35
35
  |:--:|:--:|:--:|:--:|
36
- | <img src="assets/gallery/builtin-elegant.png" width="186" alt="elegant"><br><sub><code>Elegant</code></sub> | <img src="assets/gallery/builtin-dark.png" width="186" alt="dark"><br><sub><code>Dark</code></sub> | <img src="assets/gallery/builtin-sepia.png" width="186" alt="sepia"><br><sub><code>Sepia</code></sub> | <img src="assets/gallery/builtin-notion.png" width="186" alt="notion"><br><sub><code>Notion</code></sub> |
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
- | <img src="assets/gallery/academic-paper.png" width="186" alt="academic-paper"><br><sub><code>Academic Paper</code></sub> | <img src="assets/gallery/forest-ink.png" width="186" alt="forest-ink"><br><sub><code>Forest Ink</code></sub> | <img src="assets/gallery/pink-script-dark.png" width="186" alt="pink-script-dark"><br><sub><code>Pink Script Dark</code></sub> | <img src="assets/gallery/swiss-design.png" width="186" alt="swiss-design"><br><sub><code>Swiss Design</code></sub> |
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.3** — 预览 / 放映 / 导出统一套用主题幻灯片样式,与参照稿对齐
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,31 @@
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
+
13
+ ## v0.4.5 (2026-12-05)
14
+
15
+ ### ⭐ Star the Project from the README
16
+
17
+ The README now starts with a **Star on GitHub** badge that links straight to the repository. If ColaView MD is useful to you, click it to help others discover the project.
18
+
19
+ ## v0.4.4 (2026-12-05)
20
+
21
+ ### 🖼️ README Display Fixed
22
+
23
+ The extension README now renders correctly in the editor, on GitHub and on the Marketplace page:
24
+
25
+ - the theme gallery appears as proper tables with working thumbnails;
26
+ - the badge row uses bundled images instead of external services, so it no longer breaks offline;
27
+ - links and images in the packaged README now point to the correct repository, which fixes the broken thumbnails shown on the extension page.
28
+
3
29
  ## v0.4.3 (2026-12-05)
4
30
 
5
31
  ### 🎯 Slides Now Match the Reference Deck
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "vscode-colaview",
3
3
  "displayName": "ColaView MD",
4
- "version": "0.4.3",
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",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/bytechain/vscode-colaview.git"
10
+ "url": "https://github.com/byteuser1977/vscode-colaview.git"
11
11
  },
12
12
  "license": "MIT",
13
13
  "engines": {