collapsing code segments
-
I’m using the block editor and i frequently include snippets of code. With the previous editor i was able to include collapsed code segments so that the reader could click on them to see the code. here’s an example: https://olduino.wordpress.com/2019/03/12/carbot-370-redux-now-with-added-computers/
How do i do that with the block editor? Here’s the latest post with the newer editor and some code segments:https://olduino.wordpress.com/2022/04/06/snake-on-an-oled/Thanks for any help
WP.com: Yes
Correct account: YesThe blog I need help with is: (visible only to logged in users)
-
I see what you mean.
At this time the Code block has no collapse functionality, but I’ll pass this on to the developers.
-
-
You should be able to use the Classic Block or the HTML Block in order to add that collapsable code like you had previously. Could you give that a try?
Thanks!
-
- The topic ‘collapsing code segments’ is closed to new replies.