Skip to content

[Feature Request]: Make RenderableDocument codable #154

Open

Description

@icodesign

Why?

MarkdownView requires markdown parsing when using in a list (using as a single view is fine). Markdown parsing is called every time when the cell/row is reused and it's heavy. This is a perf issue.

Workaround

Current workaround to mitigate is to use a in-memory cache for RenderableDocument.

Suggestions

We can move a step forward and make RenderableDocument conform to Codable protocol. In that way, we can parse ahead and store it wherever we want (e.g. database).

Activity

  1. junyan72 commented on Jul 25, 2026

    @junyan72
    Contributor

    MarkdownView requires markdown parsing when using in a list (using as a single view is fine)

    Could you clarify the use case here? it sounds like you are using MarkdownView within each cell inside a List, what is the specific problem you encountered?

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

    need_more_infoNeed more information from issue creator.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions