Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom playground guide #2286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dalance
Copy link
Contributor

@dalance dalance commented Jan 6, 2024

Custom playground for another language can be achieved through theme customization,
but the customization points are difficult and not documented.

This document gathers the existing workaround at #1453 and my trial.
In my environment (https://doc.veryl-lang.org/book/), the way described in this document achieved editable, syntax highlighted playground for my language.

I think some points seem to be hacky (ex. editor.js replacing).
It may be able to be simplified by mdBook's official support.

Related: #350 #1759

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Jan 6, 2024
@ghost
Copy link

ghost commented Mar 13, 2024

This guide is helpful! Thank you!

@dalance
Copy link
Contributor Author

dalance commented Sep 24, 2024

@ehuss There seem to be a few people which needs this information. I think publishing it may be helpful until implementaion of more sophisticated way. How about it?

@mio-19
Copy link

mio-19 commented Sep 26, 2024

Yes, I found this information helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants