Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Replace mdx asset link resolver / parser with Contentful references #38

Open
axe312ger opened this issue Feb 16, 2020 · 0 comments
Open
Labels
Effort: High help wanted Extra attention is needed Impact: High research need investigation

Comments

@axe312ger
Copy link
Collaborator

axe312ger commented Feb 16, 2020

The approach of automatically parsing asset ids from MDX is to complicated to maintain. We should replace this technique via Contentful:

  • New ContentType "MediaReference". Fields:
    • Asset ID
    • Asset context (to determine how it will be rendered)

Our custom editor / field UI extension could fill the field for the user. Investigation is need how to achieve this properly.

See: https://github.com/axe312ger/gatsby-mdx-suite/blob/master/gatsby-theme-mdx-suite/gatsby-node.js#L22-L54

@axe312ger axe312ger added the help wanted Extra attention is needed label Feb 28, 2020
@axe312ger axe312ger changed the title improve mdx asset link resolver / parser Replace mdx asset link resolver / parser with Contentful references Jul 14, 2020
@axe312ger axe312ger added Impact: High research need investigation and removed Impact: Medium labels Jul 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Effort: High help wanted Extra attention is needed Impact: High research need investigation
Projects
None yet
Development

No branches or pull requests

1 participant