-
Is there any concept for creating captions for an image in plain markdown? MDX may also work if that is simply better, although we've tried to keep things mostly plain markdown at this point |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
Went ahead and did some MDX :) I created figures.jsx
Then in my markdown/mdx files I use
|
Beta Was this translation helpful? Give feedback.
-
.jsx has to be placed where? inside |
Beta Was this translation helpful? Give feedback.
-
Hey there! I've tried following these (fairly straight forward) recommendations but can't seem to get this component to import in my |
Beta Was this translation helpful? Give feedback.
-
Hi! Using the component doesn't seem to work for relative paths. I have an ├── docs
│ ├── topicRoot
│ │ ├── topic.mdx
│ │ ├── _category_.json
│ │ ├── img
│ │ │ └── topicImg.png I tried using various variations of |
Beta Was this translation helpful? Give feedback.
-
This is how did it:
and the js:
css:
|
Beta Was this translation helpful? Give feedback.
-
It's ok, the owner wanted me to invent something yo make it easier for
Markdown users. But then markdown users won't get it anyways aftercare the
trouble. I think it's more simple just to out in standard html fashion. It
seems like more work that way. So I stepped down that one.
…On Fri, Jul 26, 2024, 4:51 PM Gaël Blanchemain ***@***.***> wrote:
Implemented in my codebase. Thank you so much @cmdcolin
<https://github.com/cmdcolin>!
—
Reply to this email directly, view it on GitHub
<#4633 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4VTGWMRBZAVZI6BCT3SXWDZOLOIHAVCNFSM43B7WMH2U5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMBRGY2DMMRQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Went ahead and did some MDX :)
I created figures.jsx
Then in my markdown/mdx files I use