You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project provides an extension for Xcode to integrate some nef features directly in the IDE. Using the core of `nef`, you can [export snippets](https://github.com/bow-swift/nef#-exporting-carbon-code-snippets) from your code selection directly in Xcode.
27
26
27
+
### Features
28
+
29
+
💡 Exports a [__code selection__](#-export-code-selection-to-image) to images for given Xcode Playgrounds.
30
+
31
+
💡 Generates [__Markdown__](#-generates-markdown-file-from-playground) files from Xcode Playground.
32
+
33
+
💡 Builds a [__Playground Book__](#-create-a-playground-book-from-your-swift-package) with external dependencies defined in a Swift Package.
34
+
28
35
29
36
30
37
## 📥 Installation
@@ -37,16 +44,53 @@ To complete the installation, you should enable `nef` extension from `System Pre
Xcode Playgrounds let you write comments in markdown format using the symbols //: for single line comments, or /*: */ for multiline comments. Markup for playgrounds includes page level formatting for headings and other elements, formatting spans of characters, showing inline images, and several other features. You can read more in the [Markup Formatting Reference](https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_markup_formatting_ref/index.html).
77
+
78
+
You can create a markdown file from playground page with the nef action `Editor > nef > Playground → Markdown`
79
+
80
+
81
+
82
+
### 📲 Create a Playground Book from your Swift package
83
+
84
+
You can create a Playground compatible with you iPad from a Swift package. You only need to open the swift package in Xcode,
85
+
and select the action `Editor > nef > Swift Package → Playground Book`
86
+
87
+
It will ask you where to save the Playground Book, and it will start to build it.
88
+
89
+
<palign="center">
90
+
<img src="assets/nef-plugin-playgroundbook.png" alt="nef: action for making a Playground Book" width="90%"/>
91
+
</p>
92
+
93
+
> This feature needs to use SwiftPM tool. Consequently, it will need to disable the sandbox thus it is not allowed in the App Store; but if you want to enjoy this feature, you only need to install the `.dmg` you'll find in the [releases](https://github.com/bow-swift/nef-plugin/releases) section.
0 commit comments