Typefi is an extension for Brackets that allows markdown documents to be printed using Typefi.
- Install the extension within Brackets by selecting
File...Extension Manager. - Select
Help...Show Extensions Folderand within this folder opentypefi/settings.json. - Enter values for all items within the settings file (described subsequently) and save.
- Open the markdown document to be printed within Brackets.
- Create a Typefi workflow that uses Markdown to Html as its first action.
Whenever you wish to print the current markdown document just hit the Typefi button or Ctrl-Shift-T (Command-Shift-T on macOS). The document will be printed using Typefi and the first pdf output produced opened in your default browser. If no pdf output is produced then the first output produced is opened.
The Typefi server api url which is to be used for printing, such as https://v8.typefi.com/api/v2/ or http://localhost:8080/api/v2/
The full path to the workflow that is to be used for printing, such as Acme/Documentation/Final.typefi_workflow. This must use Markdown to Html as the first action.
The username for the Typefi server.
The password for the Typefi server.
The customer for the Typefi server.
Within the root folder the following JSDoc command will generate all source documentation
jsdoc readme.md lib
This extensions uses the Ramda functional library, with JSDoc documentation that includes Type Signatures adapted from Haskell for Ramda