|
|
|
|
|
by slorber
1868 days ago
|
|
We use MDX which basically compiles markdown to React components and allows to interleave components inside md content. So you can do similar things like having one doc importing the other. Maybe not as flexible (like importing only a few lines of the other doc). You can display real production source code in code blocks in any language without having to copy-paste and it can stay in sync. The live playground allows you to display js code blocks and print the result in the browser. I don't see how this could work with other languages. |
|