Use .mdx instead of .md #28631
Closed
NikitaRevenco
started this conversation in
Ideas
Replies: 1 comment
-
Thanks for the suggestion. Had a chat with some team members and a lot more would need to be done than has been suggested, including but not limited to:
There are likely other big considerations that just haven't sprung to mind yet. Overall, there isn't quite enough benefit to warrant that much of a change across the board, so it's not something we'd likely want to explore. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
MDX allows for custom markdown syntax and using react components in markdown
For example, we wouldnt have to write
<div class="lesson-note lesson-note-warning>
but could use custom syntax, e.g. the same one that github usesThis would also unlock other potential, we could create custom components when we need to enhance user experience. e.g. there could be a quiz component
If this is accepted the following would have to be done:
react-rails
can then render the component to display in.erb
filesBeta Was this translation helpful? Give feedback.
All reactions