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

Tutorial code delta not picking up changes in some cases #1007

Open
1 of 2 tasks
jverkoey opened this issue Aug 8, 2024 · 0 comments
Open
1 of 2 tasks

Tutorial code delta not picking up changes in some cases #1007

jverkoey opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jverkoey
Copy link

jverkoey commented Aug 8, 2024

Description

I am building an interactive tutorial and noticed that one of my code steps is not highlighting the code changes, even though the other steps are.

The tutorial is located at https://jverkoey.github.io/slipstream/tutorials/slipstream/introducingslipstream-yourfirstsite-helloworld

Specifically, Step 8 of Section 3 (Adding some style) adds a .fontSize(.extraExtraExtraLarge) attribute to the view, but this addition is not displayed in the code preview.

Screenshot 2024-08-08 at 8 37 50 AM

I've manually highlighted the expected code change.

The relevant step in the .tutorial definition are found here:

https://github.com/jverkoey/slipstream/blob/6cb0a92ca768cb4c9cffa2c4ab99523d5a8ff2ce/Sources/Slipstream/Documentation.docc/Tutorials/IntroducingSlipstream/YourFirstSite/HelloWorld/IntroducingSlipstream-YourFirstSite-HelloWorld.tutorial#L182-L194

Checklist

  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue.

Expected Behavior

The added code should be highlighted.

Actual behavior

The added code is not highlighted.

Steps To Reproduce

  1. Open https://jverkoey.github.io/slipstream/tutorials/slipstream/introducingslipstream-yourfirstsite-helloworld
  2. Scroll down to section 3, step 8.
  3. Observe.

Swift-DocC Version Information

No response

Swift Compiler Version Information

swift-driver version: 1.113 Apple Swift version 6.0 (swiftlang-6.0.0.7.6 clang-1600.0.24.1)
Target: arm64-apple-macosx14.0
@jverkoey jverkoey added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant