-
|
Hi everyone! I'm maintaining an OSS .NET project and it took me forever to research a better platform to deliver documentation. Now that I've found Docusaurus, I feel almost embarrassed seeing how popular it is, but again, it's probably because I have absolutely no connection to frontend technology. Docusaurus seems to have absolutely everything I wished for and more. The only thing I have no clue how to accomplish is custom code rendering. So instead of using regular code fences and specifying the language, I'd like to provide my own I've found another discussion #3009 and realized I could do Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
|
Hi! Docusaurus uses prism-react-renderer to render your code. If you want another renderer, you can swizzle |
Beta Was this translation helpful? Give feedback.

Hi! Docusaurus uses prism-react-renderer to render your code. If you want another renderer, you can swizzle
CodeBlockand re-implement it whichever way you want. https://deploy-preview-6296--docusaurus-2.netlify.app/docs/using-themes/