class documentation

class JournalNotebookExtension(NotebookExtension): (source)

View In Hierarchy

Extend notebook by setting special page template for the journal namespace and by adding a hook to suggests links for dates.
Method __init__ Undocumented
Method on_get_page_template Undocumented
Method on_init_page_template Undocumented
Method on_process_new_page_template Callback called when parsing a template, e.g. when exporting a page or when a new page is created. Sets parameters in the template dict to be used in the template.
Method on_suggest_link Undocumented
def __init__(self, plugin, notebook): (source)

Undocumented

def on_get_page_template(self, notebook, path): (source)

Undocumented

def on_init_page_template(self, notebook, path, template): (source)

Undocumented

def on_process_new_page_template(self, template, output, context, daterange): (source)
Callback called when parsing a template, e.g. when exporting a page or when a new page is created. Sets parameters in the template dict to be used in the template.
def on_suggest_link(self, notebook, source, text): (source)

Undocumented