Admonitions in spec definition #364
dmitriyrotaenko
started this conversation in
Ideas
Replies: 1 comment
-
Sounds like a cool idea but not sure how this will work as the open api rendering is done by redoc and is out of my control |
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
-
Hi, we're integrating Redocusaurus for our documentation. Really enjoy the project so far.
My question is whether Redocuaurus can somehow parse Docusaurus admonitions within the spec definition?
Here's a custom 'admonition' that I've created. Basically, a
![Screenshot 2024-05-22 at 17 38 37](https://private-user-images.githubusercontent.com/52621117/332842083-bc43882a-94b8-4664-a81f-27ca8fb39c3d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI3ODA0NTcsIm5iZiI6MTcyMjc4MDE1NywicGF0aCI6Ii81MjYyMTExNy8zMzI4NDIwODMtYmM0Mzg4MmEtOTRiOC00NjY0LWE4MWYtMjdjYThmYjM5YzNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA0VDE0MDIzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3NTIyZDJiM2Q3YTI1ODBmMGUzNzJhYzJmOTU2NTVkMGE1ODViY2QzN2M0ZjU3ZGMyOTBkY2M1ZWMwMDcyYjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PyM-3pu3Ja063ee_YBk44olu1rIxA3OMNJNBpP8UIIE)
div
with some styles.And the spec definition looks like the following:
Is it possible to to use Docusaurus admonitions in spec like so:
And if no, maybe there're some directions I can dig into? Any help and ideas appreciated 🙌
Beta Was this translation helpful? Give feedback.
All reactions