Context available for templates

doc

Context available for templates

Template engine

For more information about the template engine, please see handlebarsjs

Template engine

The included information is optional in the settings of the plugin. See Considered Context.

title

The title of the document.

selection

selection is the selected text according to the method explained in Considered Context.

selections (new v0.2.17)

It is an array that includes the all selections. You can access it through selections.

context

includes YAML Variables, Title, StaredHeadings, Selection

frontmatter

The frontmatter variables are available directly or in frontmatter variable (object).

headings

It is an object that contains all the headings with their content.

children

It is an array that includes the cited notes. You can access it through children.

mentions

mentions is an object that includes two arrays: linked and unlinked.
Each array contains the paragraphs where document is mentioned.

highlights

It is an array that includes obsidian highlights . You can access it through highlights.

extractions (v0.3.1)

extractions is an object that includes three arrays: PDFExtractor, WebPageExtractor,YoutubeExtractor, and AudioExtractor.

  • PDFExtractor is an array that contains the embedded PDF documents in the note in text format.
  • WebPageExtractor is an array that contains the content of all the external links in the note.
  • YoutubeExtractor is an array that contains the content of all transcriptions of YouTube videos.
  • AudioExtractor is an array that contains the content of all transcriptions of audio notes processed through Whisper OpenAI (file size limit: 25MB).

Table of contents

Local Graph

Mentions