atom-snippet-cson-to-readme

0.1.3 • Public • Published

atom-snippet-cson-to-readme

Generate Atom Package README from snippet.cson.

Usage

Install

$ npm install -g atom-snippet-cson-to-readme

Run

$ cson2readme <filepath>

Example

$ cson2readme <filepath>

From CSON

'.source.crystal,.source.ruby':
  'if … else … end':
    'prefix': 'if else'
    'body': 'if (\${1:condition})\\n\\t$2\\nelse\\n\\t$3\\nend'
  'if … end':
    'prefix': 'if'
    'body': 'if (\${1:condition})\\n\\t$0\\nend'

To Markdown

## Types
* .source.crystal
* .source.ruby

## Snippets
### if … else … end
prefix: if else  
body:

~~~
if (${1:condition})
	$2
else
	$3
end

Readme

Keywords

Package Sidebar

Install

npm i atom-snippet-cson-to-readme

Weekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • tbpgr