Skip to content

Commit 98d0f05

Browse files
authored
Merge pull request #51 from disberd/fix_toc_hiding
2 parents 7f8ca26 + 6a1b7d7 commit 98d0f05

6 files changed

Lines changed: 19 additions & 16 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,12 @@ jobs:
3030
- ubuntu-latest
3131
- windows-latest
3232
- macOS-latest
33-
arch:
34-
- x64
3533
steps:
36-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
3735
- uses: julia-actions/setup-julia@v2
3836
with:
3937
version: ${{ matrix.version }}
40-
arch: ${{ matrix.arch }}
41-
- uses: julia-actions/cache@v1
38+
- uses: julia-actions/cache@v2
4239
- uses: julia-actions/julia-buildpkg@v1
4340
- uses: julia-actions/julia-runtest@v1
4441
- uses: julia-actions/julia-processcoverage@v1

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
This file contains the changelog for the PlutoExtras package. It follows the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format.
44

5+
## [0.7.17] - 2026-05-01
6+
### Fixed
7+
- Fixed the `ExtendedTableOfContents()` output getting hidden if contained in a hidden part of the notebook
8+
- Make hidden cells with `always-show-output` be completely invisible in the notebook by ensuring they don't have a `min-height` value.
9+
510
## [0.7.16] - 2025-09-26
611

712
### Fixed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PlutoExtras"
22
uuid = "ed5d0301-4775-4676-b788-cf71e66ff8ed"
33
authors = ["Alberto Mengali <disberd@gmail.com>"]
4-
version = "0.7.16"
4+
version = "0.7.17"
55

66
[deps]
77
AbstractPlutoDingetjes = "6e696c72-6542-2067-7265-42206c756150"

src/extended_toc/extended_toc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,5 @@ pluto-notebook[hide-enabled] pluto-cell[always-show-output][toc-hidden]:not(.cod
184184

185185
pluto-notebook[hide-enabled] pluto-cell[always-show-output][toc-hidden]:not(.code_differs) {
186186
margin-top: 0px;
187+
min-height: 0px;
187188
}

src/extended_toc/extended_toc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ window.scroll_to = scroll_to;
748748
window.save_to_file = save_to_file;
749749
window.floating_ui = floating_ui;
750750

751-
// Set cell attribute for always-show
752-
cell.toggleAttribute('always-show', true)
751+
// Set cell attribute for always-show-output
752+
cell.toggleAttribute('always-show-output', true)
753753

754754
invalidation.then(() => {
755755
observer.disconnect()

test/notebooks/extended_toc.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### A Pluto.jl notebook ###
2-
# v0.20.17
2+
# v0.20.21
33

44
#> custom_attrs = ["enable_hidden", "hide-enabled"]
55

@@ -170,7 +170,7 @@ PlutoUI = "~0.7.49"
170170
PLUTO_MANIFEST_TOML_CONTENTS = """
171171
# This file is machine-generated - editing it directly is not advised
172172
173-
julia_version = "1.12.0-rc2"
173+
julia_version = "1.12.2"
174174
manifest_format = "2.0"
175175
project_hash = "dfc547520a0f28a7cf33ecc42c4ecaba11dd2b7e"
176176
@@ -221,7 +221,7 @@ version = "1.11.0"
221221
[[deps.Downloads]]
222222
deps = ["ArgTools", "FileWatching", "LibCURL", "NetworkOptions"]
223223
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
224-
version = "1.6.0"
224+
version = "1.7.0"
225225
226226
[[deps.FileWatching]]
227227
uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
@@ -281,7 +281,7 @@ version = "0.6.4"
281281
[[deps.LibCURL_jll]]
282282
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "OpenSSL_jll", "Zlib_jll", "nghttp2_jll"]
283283
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
284-
version = "8.11.1+1"
284+
version = "8.15.0+0"
285285
286286
[[deps.LibGit2]]
287287
deps = ["LibGit2_jll", "NetworkOptions", "Printf", "SHA"]
@@ -346,7 +346,7 @@ version = "0.3.29+0"
346346
[[deps.OpenSSL_jll]]
347347
deps = ["Artifacts", "Libdl"]
348348
uuid = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
349-
version = "3.5.1+0"
349+
version = "3.5.4+0"
350350
351351
[[deps.Parsers]]
352352
deps = ["Dates", "PrecompileTools", "UUIDs"]
@@ -470,17 +470,17 @@ version = "1.3.1+2"
470470
[[deps.libblastrampoline_jll]]
471471
deps = ["Artifacts", "Libdl"]
472472
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
473-
version = "5.13.1+1"
473+
version = "5.15.0+0"
474474
475475
[[deps.nghttp2_jll]]
476476
deps = ["Artifacts", "Libdl"]
477477
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
478478
version = "1.64.0+1"
479479
480480
[[deps.p7zip_jll]]
481-
deps = ["Artifacts", "Libdl"]
481+
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
482482
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
483-
version = "17.5.0+2"
483+
version = "17.7.0+0"
484484
"""
485485

486486
# ╔═╡ Cell order:

0 commit comments

Comments
 (0)