plugins.papis.settings.formatter.format_notes

This function runs when first opening a new note.

The entry arg is a table containing all the information about the entry (see above data_tbl_schema).

This example is meant to be used with the markdown filetype. The function must return a set of lines, specifying the lines to be added to the note.

Type: null or raw lua code

Default: null

Declared by:

plugins.papis.settings.formatter.format_references

This function runs when inserting a formatted reference (currently by f/c-f in Telescope).

It works similarly to the format_notes above, except that the set of lines should only contain one line (references using multiple lines aren’t currently supported).

Type: null or raw lua code

Default: null

Declared by: