An extension for Brackets to insert a random fortune into the editor.
- Select Brackets > File > Extension Manager...
- Search for this extension.
- Click on the Install button.
Type fortune then press the Tab key.
_[file]: Defines the fortune [file] used to generate the random
fortune. For example, if there is a fortune file called zippy.txt in the fortunes
directory, typing the command fortune_zippy will display a random quote from the
file. Note that the .txt file extension is not included in the command.
- Create an inline command line to run this program
- Add _?, _help option that displays help and options
- Add _files option that lists all of the available fortune files
- Update 'file not found' message to reference _files option
- Add _all option which picks a random fortune from a combination of all the files
- Add word wrap option
MIT-licensed -- see main.js for details.