@14ch/svelte-md-outliner 0.0.30 → 0.0.31

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,13 @@ 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.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.31] - 2026-11-19
9
+
10
+ ### Fixed
11
+
12
+ - Highlighted code no longer switches to a proportional font when the host page
13
+ sets `font-family` on every element (e.g. `body * { font-family: … }`).
14
+
8
15
  ## [0.0.30] - 2026-11-19
9
16
 
10
17
  ### Added
@@ -941,6 +941,16 @@
941
941
  * **変えるのは色だけである。** 太さや斜体を変えると、書体によっては文字の幅が変わり、
942
942
  * 行の折り返しやカーソルの位置がずれる。
943
943
  */
944
+
945
+ /**
946
+ * **書体はコードブロックから継ぐことを、自分で書く。** 置いた先が全要素へ書体を当てる
947
+ * (`body * { font-family: … }`)と、トークンの要素だけがその書体になり、色の付いた
948
+ * 文字だけ等幅でなくなる(markn で発生、2026-11-19)。
949
+ */
950
+ .markdown-editor__code-token {
951
+ font-family: inherit;
952
+ }
953
+
944
954
  .markdown-editor__code-token--comment,
945
955
  .markdown-editor__code-token--prolog,
946
956
  .markdown-editor__code-token--doctype,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@14ch/svelte-md-outliner",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "An outliner-style Markdown editor for Svelte 5. Headings form a real section tree you can fold, focus, and re-nest from the keyboard.",