To solve this, I bumped to thes latest ember-code-snippet, which required adding and configuring ember-prism as well as creating a local CodeSnippet component as this is no longer provided by ember-code-snippet directly.
Additionally, the calculation of the max height for the template-toggle component broke so I refactored to use ResizeObserver.
Here are a couple of updated screenshots. Note that the styling is a bit different from before. This can be customized, however, I felt this could be addressed in a follow-up PR.
Code blocks on https://ember-concurrency.com/docs/tutorial are not rendering. This is due to deprecated code in the
CodeSnippet
component's template (provided by ember-code-snippet).To solve this, I bumped to thes latest
ember-code-snippet
, which required adding and configuring ember-prism as well as creating a localCodeSnippet
component as this is no longer provided byember-code-snippet
directly.Additionally, the calculation of the max height for the template-toggle component broke so I refactored to use ResizeObserver.
Here are a couple of updated screenshots. Note that the styling is a bit different from before. This can be customized, however, I felt this could be addressed in a follow-up PR.
![image](https://user-images.githubusercontent.com/6216460/231186462-6bca99e7-ca62-43e4-8047-164d156eb630.png)
Closes https://github.com/machty/ember-concurrency/issues/521