Skip to content

📝 Add long-form editorial article template/profile paired with the Medium-style Copilot agent #379

Description

@szmyty

Description

Add a reusable long-form editorial article template/profile that pairs with the repository's Medium-style Copilot agent.

The purpose is not to reproduce Medium's proprietary visual design. The target is a clean, readable, publication-quality long-form article experience inspired by modern editorial web writing while remaining distinctly Renderflow and provider-neutral.

This issue should inspect Renderflow's current template/profile architecture before implementation. Use the current canonical publication/profile abstractions rather than reviving an older or superseded template path merely because early Renderflow prototypes used one.

Goals

  • provide a first-class long-form article presentation profile
  • pair content generation/polishing with deterministic rendering
  • support local-first, reproducible assets and typography
  • render cleanly across the output formats that the current capability graph can truthfully support
  • serve as a reusable fixture/example for author → polish → render workflows

Relationship to Copilot Agent

The paired agent is responsible for content:

.github/agents/medium-article.agent.md

The template/profile is responsible for presentation.

Maintain this boundary:

rough notes / draft
  ↓
Copilot generation + polish
  ↓
canonical article Markdown + metadata
  ↓
Renderflow editorial profile
  ↓
validated derivatives

The template/profile must not depend on Copilot at runtime.

Content / Metadata Contract

Support, where available in the current Renderflow profile system:

  • title
  • optional subtitle/dek
  • author/contributor metadata
  • publication/update date
  • canonical URL metadata when explicitly configured
  • tags/topics/keywords
  • hero/cover image
  • inline images and captions
  • code blocks
  • block quotations
  • callouts or asides
  • links and footnotes
  • accessibility/alt-text metadata
  • optional table of contents for sufficiently long articles

Do not invent missing metadata.

Presentation Requirements

Aim for a restrained, readable editorial system with:

  • strong typographic hierarchy
  • comfortable measure and line height
  • readable body typography
  • clean spacing between sections
  • high-quality code and quotation presentation
  • responsive HTML behavior where HTML is supported
  • sensible print/PDF pagination where PDF is supported
  • graceful representation in DOCX/EPUB/editorial interchange outputs where current adapters support them

Avoid hard-coding presentation details into source Markdown when they belong in the profile.

Local-First Assets

Use repository-owned or explicitly licensed local assets wherever practical.

Do not require runtime calls to Google Fonts, CDNs, or other network resources for the canonical deterministic build.

If the profile uses fonts, stylesheets, icons, or other assets:

  • keep provenance/license information
  • pin the exact asset revision or bytes
  • integrate with Renderflow's current asset/toolchain model
  • provide deterministic fallbacks

Multi-Format Behavior

Inspect the current format capability graph and implement only outputs that are genuinely supported.

At minimum, the profile should be designed to support the article semantics across:

  • HTML/web article output
  • PDF/printable article output

Where current capabilities permit, also validate:

  • DOCX editorial interchange
  • EPUB/e-book derivative
  • normalized Markdown/source derivative

Do not claim parity where an output format necessarily loses presentation semantics. Document the expected fidelity/loss profile.

Example / Fixture

Add a redistribution-safe synthetic article fixture that exercises representative features such as:

  • metadata
  • headings
  • prose
  • links
  • quotation
  • code block
  • image/caption
  • list
  • callout/aside if supported

Use it for deterministic rendering tests and documentation examples.

Validation

Validate the article profile through the repository's current validation/conformance mechanisms.

Check, where applicable:

  • template/profile discovery
  • required local assets
  • typography/font availability
  • missing metadata behavior
  • HTML structure
  • PDF generation
  • cross-format degradation
  • reproducibility
  • accessibility-relevant semantics

Naming / Trademark Constraint

Use "Medium-style" only as workflow/design inspiration in internal context where useful. Public-facing naming should prefer a neutral term such as editorial, long-form, or article unless there is a specific reason otherwise.

Do not copy Medium branding, proprietary CSS, logos, layouts, or assets.

Acceptance Criteria

  • Current Renderflow template/profile architecture is inspected before implementation
  • A reusable long-form editorial/article profile is implemented using the canonical architecture
  • The profile's input metadata/content contract aligns with the Medium-style Copilot agent
  • HTML output is clean, responsive, and readable when supported
  • PDF output is clean and publication-quality when supported
  • Additional supported derivatives degrade honestly and predictably
  • Canonical builds require no runtime font/CDN downloads
  • Asset/font provenance and deterministic fallbacks are documented
  • A redistribution-safe synthetic article fixture is included
  • Representative outputs are covered by tests/validation
  • Documentation explains generation/polishing → rendering workflow
  • Formatting, linting, tests, and CI pass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions