Skip to content

Programmatic usage of contentlayer for user input #441

Description

@qiushiyan

Is it possible to use call contentlayer programmatically for user provided input? I have a use case where users writes mdx in an editor and I want to display a live preview for it. I don't know if I can still generate contentlayer artifacts (e.g., body.code) in memory for such dynamic input.

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