[GH-ISSUE #6030] [Feature]: Give Roleplay documents built-in in-message styling #3341

Closed
opened 2026-10-21 06:02:08 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6030

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Roleplay's Documents command accepts a document kind, title, and text, but the chat renderer currently puts every kind in the same plain-text command disclosure. Letters, journal entries, reports, posters, and terminal logs have no built-in visual formatting. This misses the purpose of presenting in-world documents without asking the model to generate HTML or CSS.

Proposed solution

  • Render documents directly inside their messages using built-in styles for notes, letters, journals, reports, posters, and terminal logs, with a readable generic document fallback.
  • Let the model provide the title and plain text only. Explicitly explain that the Engine supplies the formatting and that generated HTML/CSS is unnecessary.
  • Preserve line breaks, readable long documents, and mobile/desktop and light/dark support.
  • Keep existing edit/delete controls, command activity, saved documents, and swipe behavior working. Private character notes remain separate from in-world documents.

Alternatives considered

Model-generated CSS/HTML would make formatting inconsistent and is not needed for these predefined document types. The existing generic command disclosure alone does not provide the requested document presentation.

Additional context

Requested by @SpicyMarinara while the current staging work is in progress. Implementation owner: @SpicyMarinara with Codex. This is Engine-owned Roleplay rendering and command guidance, not a downloadable agent change. No overlapping open contributor PR or issue-linked branch was found.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6030 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Roleplay's Documents command accepts a document kind, title, and text, but the chat renderer currently puts every kind in the same plain-text command disclosure. Letters, journal entries, reports, posters, and terminal logs have no built-in visual formatting. This misses the purpose of presenting in-world documents without asking the model to generate HTML or CSS. ## Proposed solution - Render documents directly inside their messages using built-in styles for notes, letters, journals, reports, posters, and terminal logs, with a readable generic document fallback. - Let the model provide the title and plain text only. Explicitly explain that the Engine supplies the formatting and that generated HTML/CSS is unnecessary. - Preserve line breaks, readable long documents, and mobile/desktop and light/dark support. - Keep existing edit/delete controls, command activity, saved documents, and swipe behavior working. Private character notes remain separate from in-world documents. ## Alternatives considered Model-generated CSS/HTML would make formatting inconsistent and is not needed for these predefined document types. The existing generic command disclosure alone does not provide the requested document presentation. ## Additional context Requested by @SpicyMarinara while the current staging work is in progress. Implementation owner: @SpicyMarinara with Codex. This is Engine-owned Roleplay rendering and command guidance, not a downloadable agent change. No overlapping open contributor PR or issue-linked branch was found. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3341
No description provided.