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 Scala to list of supported languages in code blocks #4953

Closed
1 task done
wbradley93 opened this issue Apr 15, 2024 · 2 comments
Closed
1 task done

Add Scala to list of supported languages in code blocks #4953

wbradley93 opened this issue Apr 15, 2024 · 2 comments

Comments

@wbradley93
Copy link

Describe the feature you'd like

I'd like to be able to add Scala snippets to some of my pages with full syntax highlighting.

Describe the benefits this would bring to existing BookStack users

This would enable the use of Scala in pages.

Can the goal of this request already be achieved via other means?

Not sure.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

3 months to 1 year

Additional context

No response

@ssddanbrown
Copy link
Member

Thanks for the suggestion @wbradley93,
It looks like we're already importing scala, but just not showing it in the list, I've targeted this for next feature release to expose the option in the list.
If you type in scala to the language input in the code editor popup (at the top of the language list) you should find your code gets highlighted as desired.

ssddanbrown added a commit that referenced this issue Apr 16, 2024
@ssddanbrown
Copy link
Member

Scala has now been added to the language list as part of 80ac66e which will be part of the next feature release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants