[Bug] Plain Marp CLI does not load the saved OciDeck theme #1804
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck#1804
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem / motivation
OciDeck saves
theme: ocideckin the deck and writes the corresponding generated stylesheet tothemes/ocideck.css. A normal third-party invocation from the saved project directory:does not register or load that neighbouring stylesheet. Marp falls back to its default theme. As a result, existing OciDeck
splitslides already lose their two-column layout and the image can overflow the slide, independently of image callouts.This also makes the current entry in
docs/KNOWN_LIMITATIONS.mdstale: compatibility is no longer merely “unverified”; a concrete incompatibility has been reproduced.Evidence
Reproduced with real Marp CLI renders during the design review for #1801:
themes/ocideck.cssbeside the saved deck;section.splitCSS;--theme-set themes/ocideck.cssrestores the generated theme and split layout.The official Marp CLI contract requires custom themes to be supplied through
--themeor--theme-set, or through a discovered Marp configuration file. Merely placing a stylesheet beside the Markdown does not register it.Expected outcome
Choose and document one honest supported route:
--theme-set themes/ocideck.cssand make that command easy to discover wherever OciDeck promises Marp interoperability.Do not solve this by embedding OciDeck-specific opaque data in the Markdown or by making the theme path machine-specific.
Required regression proof
Add a pinned, repository-native real-Marp check with a minimal
bulletsImagefixture. It must render the deck and inspect both DOM/CSS and a screenshot:section.splitis absent, rather than only checking that HTML was produced.Update at least
docs/KNOWN_LIMITATIONS.md,docs/FILE_FORMAT.mdand the relevant user guidance with the verified invocation and its limitation. Date the correction because the current documentation states that real Marp compatibility has not been tested.Scope
This is a pre-existing Marp interoperability/documentation bug discovered by #1801. It is not part of the image-callout format and must not block or expand that feature's model.
marp deck.md(#1804) #1812