3

In Xcode Playgrounds, it is possible to write markdown and render the markdown properly using the Editor -> Show Rendered Markup option. In the markdown of the playgrounds, code blocks can be formatted by enclosing them with: ```

However, when the formatted code is being rendered like this, the Playground adds a label Example in the rendered version. Does anyone know how to change or remove that label?

 *Optionals* are simply `enum`s that either contain a generic value of type `T` or not:
 ```
 enum Optional<T> {
   case none
   case some(T)
 }
 ```

Is being rendered as:

enter image description here

rmaddy
  • 314,917
  • 42
  • 532
  • 579
nburk
  • 22,409
  • 18
  • 87
  • 132
  • Markdown renderers are not usually customizable, and I doubt that Apple's is in this case either. – matt Oct 28 '16 at 17:45
  • 4
    Have you checked [this](http://stackoverflow.com/q/38923167/6541007)? – OOPer Oct 29 '16 at 03:12
  • Does this answer your question? [Rename default rendered headings like "Example" in Swift Markup language](https://stackoverflow.com/questions/38923167/rename-default-rendered-headings-like-example-in-swift-markup-language) – Allan Spreys Jan 10 '23 at 14:06

0 Answers0