Skip to content

Programmatic usage of contentlayer for user input #441

Closed

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

  1. changed the title [-]Programmatically usage of contentlayer for user input[/-] [+]Programmatic usage of contentlayer for user input[/+] on Apr 27, 2023
  2. locked and limited conversation to collaborators on May 31, 2023
  3. converted this issue into a discussion #472 on May 31, 2023
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