Skip to content

Support editing text directly in the rendered Markdown preview #45

Backlog

Description

@rbalet

I use @tanstack/markdown/react in a blog editor with Markdown source on the left and a formatted preview on the right. An author who spots a typo in the preview has to find the same text in the source to fix it. I’d like them to be able to click the word and edit it in place.

For example, if the source is ## Getting strated, an author could correct the visible heading to “Getting started” and the app would receive ## Getting started. Changing one word should preserve the heading level and leave the rest of the Markdown source untouched.

Would you consider an opt-in way to support this? Or would this be an external third party library ?
(I was thinking of something like https://mdxeditor.dev/)

How I'm using it

image

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