Blog

Welcome to the Swift Playground

04 Sep, 2014
Xebia Background Header Wave

Imagine… You’re working in swift code and you need to explain something to a co-worker. Easiest would be to just explain it and show the code right. So you grab your trusty editor and type some markdown.
let it = "be awesome"
Great!
So now you have a file filled with content:

swift-markdown

But it would be better if it looked like:

playground

Well you can and it’s super simple, all you need is some Markdown and:
npm install -g swift-playground-builder
After that it’s a matter of running:
playground my-super-nice-markdown-with-swift-code.md
Enjoy!
More info: Github swift-playground-builder

Questions?

Get in touch with us to learn more about the subject and related solutions

Explore related posts