pi-studio 0.5.42 → 0.5.43
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 +5 -0
- package/client/studio.css +7 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to `pi-studio` are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.5.43] — 2026-04-01
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Preview-side fenced code blocks now soft-wrap long lines by default instead of only wrapping `text`/`plaintext` fences, so Markdown code examples, shell snippets, and diffs are easier to read without horizontal scrolling.
|
|
11
|
+
|
|
7
12
|
## [0.5.42] — 2026-03-31
|
|
8
13
|
|
|
9
14
|
### Added
|
package/client/studio.css
CHANGED
|
@@ -795,7 +795,11 @@
|
|
|
795
795
|
border: 1px solid var(--md-codeblock-border);
|
|
796
796
|
border-radius: 8px;
|
|
797
797
|
padding: 12px 14px;
|
|
798
|
-
overflow:
|
|
798
|
+
overflow-x: hidden;
|
|
799
|
+
overflow-y: auto;
|
|
800
|
+
white-space: pre-wrap;
|
|
801
|
+
overflow-wrap: anywhere;
|
|
802
|
+
word-break: break-word;
|
|
799
803
|
margin-top: 0;
|
|
800
804
|
margin-bottom: 1em;
|
|
801
805
|
}
|
|
@@ -808,21 +812,10 @@
|
|
|
808
812
|
|
|
809
813
|
.rendered-markdown pre code {
|
|
810
814
|
color: var(--md-codeblock);
|
|
815
|
+
white-space: inherit;
|
|
811
816
|
}
|
|
812
817
|
|
|
813
|
-
.rendered-markdown pre
|
|
814
|
-
.rendered-markdown pre.plaintext,
|
|
815
|
-
.rendered-markdown pre.sourceCode.txt {
|
|
816
|
-
white-space: pre-wrap;
|
|
817
|
-
overflow-x: hidden;
|
|
818
|
-
overflow-wrap: anywhere;
|
|
819
|
-
word-break: break-word;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
.rendered-markdown pre.text code,
|
|
823
|
-
.rendered-markdown pre.plaintext code,
|
|
824
|
-
.rendered-markdown pre.sourceCode.txt code,
|
|
825
|
-
.rendered-markdown pre.sourceCode.txt code > span {
|
|
818
|
+
.rendered-markdown pre code > span {
|
|
826
819
|
white-space: inherit;
|
|
827
820
|
}
|
|
828
821
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-studio",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.43",
|
|
4
4
|
"description": "Two-pane browser workspace for pi with prompt/response editing, annotations, critiques, prompt/response history, and live Markdown/LaTeX/code preview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|