Skip to content

Mark code output divs .unnumbered as well as .unlisted - #68

Merged
jph00 merged 1 commit into
mainfrom
pr/mark-code-output-divs-unnumbered-as-well-as
Dec 3, 2026
Merged

jph00 merged 1 commit into
mainfrom
pr/mark-code-output-divs-unnumbered-as-well-as

Conversation

@jph00

@jph00 jph00 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

msg2md in ship/api/11_core.ipynb (exported to fastship/core.py) now wraps non-asis code outputs in ::: {.output .unlisted .unnumbered} instead of ::: {.output .unlisted}. In numbered documents, headings inside code outputs no longer advance section counters or appear numbered in HTML, GitHub-flavored Markdown, Typst, or Word exports. Updated the matching assertions in ship/api/11_core.ipynb.

@jph00 jph00 added the enhancement New feature or request label Dec 3, 2026
@jph00
jph00 merged commit a542d61 into main Dec 3, 2026
@jph00
jph00 deleted the pr/mark-code-output-divs-unnumbered-as-well-as branch December 3, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant