Skip to content

Commit

Permalink
Added Whats New
Browse files Browse the repository at this point in the history
  • Loading branch information
marczhermo authored Feb 23, 2017
1 parent dabb80b commit 126d2bf
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,32 @@ Add the following keyboard shortcut to your Key Bindings file

![screenshot](docs/img/screenshot.gif)

## Whats New
Snippets with additional documentation in mind. By including extra xml data on the snippet file,
we are able to create an instruction or sample usage to our users.
Here is an example snippet modification:

```xml
<snippet>
<content><![CDATA[
public function __construct(${1})
{
${2://}
}
]]></content>
<title>Snippet Title</title>
<docs><![CDATA[
Your additional information.
]]></docs>
<code><![CDATA[
<?php
//Sample source code or output
?>
]]></code>
</snippet>
```
![screenshot](docs/img/screenshot2.gif)

## Todos
More improvements will come with this package since the author is just a starting to learn how to code in Python with Sublime package writing in mind.

Expand Down

0 comments on commit 126d2bf

Please sign in to comment.