Hidden Code Comment not working

When I edit my main.swift file to hide parts of my code it hides some parts and some parts are still viewable. I'm having the same issue without other markup functions. Some titles are set some just display the comments.

Replies

Hello Abdjun,

If you are using Hidden Code on a Xcode Playground it's normal that it doesn't work.

I got the same problem, and I realized that it only works on Swift Playgrounds projects.

Regards,
Corentin
Nope I’m using Swift Playgrounds. I can hide the code for the whole page but if i try hide the top half and bottom half with a bit in the middle which I want to be viewable only the bottom half gets hidden
Okay, I got same issues on Xcode Playground when using Markups in the middle of my code.