contentlayerdev / contentlayerdev/contentlayer

Process markdown in computed fields

Aberta
#421 0 comentários 4 reações 0 responsáveis Ver no GitHub
meta: never-stale topic: markdown/mdx
Linguagem predominante
TypeScript
Estrelas
3.5k
Forks
192
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.