Skip to content

A deck is read back with the title it has, and a theme takes its page from the master - #27

Merged
fabeat merged 2 commits into
mainfrom
fix/reverse-title-claim
Nov 8, 2026
Merged

fabeat merged 2 commits into
mainfrom
fix/reverse-title-claim

Conversation

@fabeat

@fabeat fabeat commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

The page on reading a deck back shows a deck that was written without a title coming back with one:


title: "Untitled Presentation"
author: "markdown-office"

Untitled Presentation is PHPPresentation's own default rather than a title anybody wrote, so a deck carrying it says nothing about its title. The reverse direction now takes the title from the deck's own properties where it has one, and from the first slide's where it has not — the frontmatter is the first slide's, and a title: in it is that slide's title.

So the example on the page reads back as:


title: "One"
author: "markdown-office"

The reason the page gave for the frontmatter carrying the title — that a deck's own properties are the only thing about it that is not on a slide — was never true, and the title is the proof of it: a deck's title can be on its first slide and nowhere else.

This follows markdown-presentation#49, and the page is corrected with the change it describes.

The theme command reads the page of a deck from its master, and its report
says so where it used to say that the page came from the slides. The theme
page said neither: it showed the old wording in its transcript and said
nothing about the master.

The transcript now shows the wording the command prints, and the page says
where the page comes from and what happens where the master names no colour
of its own. The old wording is among the phrases the site may not say again.
@fabeat fabeat changed the title The title a deck is read back with is the deck's own A deck is read back with the title it has, and a theme takes its page from the master Nov 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 8, 2026

Copy link
Copy Markdown

@fabeat
fabeat merged commit 582412f into main Nov 8, 2026
4 of 5 checks passed
@fabeat
fabeat deleted the fix/reverse-title-claim branch November 8, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant