Skip to content

RFC - Use MXD (Markdown + JSX + HTML) from a CMS #99

Answered by Vadorequest
Vadorequest asked this question in Ideas
Discussion options

You must be logged in to vote

I managed to make it work, not with MDX, but with simple Markdown instead.

# Voici les conditions générales d'utilisation pour {customerLabel}.

Mais... Qui a envie de lire des **CGU** ?

- List element
- List element
- List element


<Code
  text="Vous pouvez aussi utiliser du JSX" />

<Code
  text="Vous pouvez aussi utiliser du JSX encore plus plus !" />

<Loader />

<Nav />

I can build a web page in... a web page. Isn't that fun?

<Footer />

This renders the following

Video:

https://youtu.be/GqgcDHwCQCU


It's done in #113 and will shortly be available in the new upcoming preset, using Airtable and Stacker CMS.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Vadorequest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #99 on June 17, 2020 21:55.