GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Process markdown in computed fields · Issue #421 · contentlayerdev/contentlayer

Process markdown in computed fields #421

New issue
Copy link
New issue
Copy link
Open
Open
Process markdown in computed fields#421
Copy link
Labels
meta: never-staletopic: markdown/mdx
Milestone
Pre-1.0

Description

@seancdavis
seancdavis
opened on Apr 11, 2023
Issue body actions

Right now we have a default body field for markdown/mdx files, and we also have a field of type markdown. I'd like to be able to do the same to a computed field, taking advantage of Contentlayer's markdown processing system.

A use case for this is generating an excerpt from the body, but also wanting that excerpt to be in the same structure (Markdown) as the body and any other markdown fields.

Reacted by Johannes Schickling, Sean Clayton, Mark Arseneault and Alexander Kachkaev

Activity

  1. schickling
    added this to the Pre-1.0 milestone on Apr 24, 2023
  2. schickling
    added
    meta: never-stale
    topic: markdown/mdx
    on Apr 24, 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

    meta: never-staletopic: markdown/mdx

    Type

    No type

    Projects

    No projects

      Milestone

      • Pre-1.0No due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.