Skip to content

For extension label, avoid scala style #12734

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

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

som-snytt
Copy link
Contributor

The text intends to demonstrate the <extension> label. The angle brackets are correctly translated in single backticks, but in a code block, the scala styling somehow converts them to xml with closing tags. Obviously, this doesn't render.

Just removing the scala style for these two code blocks seems sufficient. I don't really know how any of this works, so maybe there is a better solution, of course.

https://dotty.epfl.ch/docs/reference/contextual/extension-methods.html

@nicolasstucki nicolasstucki merged commit 75556ad into scala:master Jun 9, 2021
@som-snytt som-snytt deleted the tweak/extension-label branch June 9, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants