Releases: ZeroOneJs/markdown-design
Releases · ZeroOneJs/markdown-design
vue-markdown-design: v0.3.1
vue-markdown-design: v0.3.0
0.3.0 (2026-01-18)
Features
- allow target prop to accept getter functions (e666812)
- enhance component type definitions for better TypeScript support (d7e4b27)
- expose htmlStr for precise component updates (1b77711)
- extract array conversion logic to utility function (b145844)
- improve global offset handling logic (7fce74b)
- limit scroll behavior to innermost container only (92be818)
- lower z-index values and replace them with CSS variables (f26261b)
- markdown: adjust mini-screen-width for better tablet experience (1b1635f)
- markdown: optimize toc scrollbar behavior (ca06484)
- render: renamed preset to presetName and improved markdown-it configuration consistency (6d8c79b)
- render: replace getMdit function with direct mdInstance exposure for markdown-it instance (6f69444)
- search: improve search component data feedback (7c4749f)
- search: remove default target fallback to reduce page intrusiveness (36c36c9)
- toc: consolidate slot rendering for both anchor and plain text toc items (8c4a22d)
- toc: improve vertical layout for empty state in markdown component (82e96c0)
Bug Fixes
- markdown: add missing array type for show-btn prop (78ef142)
- markdown: resolve inconsistency between show-btn prop and button display (06e3c7b)
- remove unused import (c1d3dd8)
- render: restructure wrapper layout to resolve white background spacing issues (5e099e4)
- search: add required id attribute to input element (5de6e27)
- search: keyword selection fails during md updates (a7a07ec)
- search: prevent search input overflow on mobile devices (e8d22a8)
- sticky: resolve mobile toc click issue caused by interactive button overlay (98282c0)
- toc: enhance scroll positioning accuracy for hash navigation (d965c47)
- toc: ensure correct active item in toc after DOM mutations (41fb40a)
- toc: improve toc generation for content within collapsible elements (e.g., details) (66eccac)
- toc: incorrect active state when anchor is disabled (cc892a1)
- toc: prevent plain text items from being selected when markdown prop is enabled (86946f9)
- toc: remove duplicated properties in TOCItem type (b05c1f8)
- toc: styles not applied when toc is empty (6180510)