[swift-users] remove "Example" from multiline playground markup

Erica Sadun erica at ericasadun.com
Tue Aug 30 15:58:40 CDT 2016


To the best of my knowledge, this is a rendering choice made by the playground team
and you cannot suppress it.

Workaround: Use `whatever` code voice instead of code fencing.

Playground markup is currently out of step with commonmark 0.25, which allows you to use a subset of raw HTML including and code 

-- E


> On Aug 29, 2016, at 3:07 AM, Ray Fix via swift-users <swift-users at swift.org> wrote:
> 
> With Xcode playground markup, if I write a multiline Swift code example such as:
> 
> ````
> for item in collection {
>   print(item)
> }
> ````
> 
> The rendered markup it always has the header “Example”  
> 
> Is there any way to write multiline code, or modify a stylesheet so that the heading “Example” is supressed?
> 
> Thank you,
> Ray Fix
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users



More information about the swift-users mailing list