Skip to content

Editable code blocks with live preview #197

@DanielFGray

Description

@DanielFGray

I accomplished this with @codesandbox/sandpack but it would be great to have codehike's beautiful code blocks instead of a different highlighting/rendering engine

I wonder if this could be accomplished by layering a transparent textarea over the top of the code block? And then sending the new code to sandpack renderer, or react-runner, react-live, whatever works

Just to kick around an idea onto your back burner

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