Xcode playgrounds - code markup has "example" when rendered
| Originator: | markd | ||
| Number: | rdar://30333391 | Date Originated: | 2/2/2017 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Version 8.3 beta (8W109m) |
| Classification: | Open | Reproducible: | Always |
Summary:
(please see attached video)
I have a playground with this in a page:
/*:
# Swift TFM n'at
Reading through the Swift Book and playing with stuff
that looks somewhat interesting
*/
/*:
## typealias
_Type aliases_ define an alternative naem for an existing type_
Hoover ni bork:
typealias AudioSample = UInt16
typealias AudioSample = UInt16
*/
The documentation at https://developer.apple.com/library/content/documentation/Xcode/Reference/xcode_markup_formatting_ref/CodeBlocks.html#//apple_ref/doc/uid/TP40016497-CH12-SW1 says that code blocks are indented by at least four spaces with a blank line before and after - that's the case here. The example on the page shows it rendered as just monospace font.
When I try it, I get an "example" sigil on the page (see attached screen shot), which I don't want.
The "example" docs have a pretty baroque example, including a whole lot of escaped newlines led in by "-example", which I am not doing.
Steps to Reproduce:
1. Have "Code Block" formatting
2. go into markup render mode
Expected Results:
See code block formatting
Actual Results:
get example formatting
Version:
Version 8.3 beta (8W109m)
10.12.2 (16C67)
Notes:
Configuration:
Attachments:
'aggressive-example.mp4' and 'Screen Shot 2017-02-02 at 2.49.20 PM.png' were successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!