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

Inconsistent code highlighting #906

Open
ElijahLeone opened this issue Oct 25, 2024 · 3 comments
Open

Inconsistent code highlighting #906

ElijahLeone opened this issue Oct 25, 2024 · 3 comments

Comments

@ElijahLeone
Copy link

ElijahLeone commented Oct 25, 2024

Location

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/guidedtour/

Description

The section regarding three quotation mark multiple line strings has highlighting after the /() that isn't consistent with the previous code color scheme. The issue isn't seen in the GitHub preview, only on the webpage.

Correction

No response

@ElijahLeone ElijahLeone changed the title Inconstant code highlighting Inconsistent code highlighting Oct 25, 2024
@amartini51
Copy link
Member

image

@amartini51 amartini51 transferred this issue from swiftlang/swift-book Oct 25, 2024
@amartini51
Copy link
Member

Moving from the TSPL repo to the DocC Render repo — the book doesn't do its own syntax highlighting, so we need to fix the issue in the tooling.

@amartini51
Copy link
Member

This highlighting issue might be specific to multiline string literals. Looking at the String Interpolation section, those examples look like they're getting the expected highlighting.

image

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

No branches or pull requests

2 participants