@phoenix-plugin-registry/typefi
v1.0.0
Published
Allows markdown documents to be printed using Typefi
Downloads
1
Readme
Typefi
Overview
Typefi is an extension for Brackets that allows markdown documents to be printed using Typefi.
Getting started
- Install the extension within Brackets by selecting
File...Extension Manager
. - Select
Help...Show Extensions Folder
and 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.
Using Typefi
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.
Settings
serverApi
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/
workflow
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.
username
The username for the Typefi server.
password
The password for the Typefi server.
customer
The customer for the Typefi server.
Source documentation
Within the root folder the following JSDoc command will generate all source documentation
jsdoc readme.md lib
Credits
This extensions uses the Ramda functional library, with JSDoc documentation that includes Type Signatures adapted from Haskell for Ramda