Skip to content

Commit

Permalink
fix: update description of template settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhb committed Apr 12, 2023
1 parent 7e37da7 commit 7c56358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const settingsSchema = async (): Promise<SettingSchemaDesc[]> => [
type: 'string',
title: 'Enter the template to use for new articles',
description:
'We use {{ mustache }} template: http://mustache.github.io/mustache.5.html. Required variables are: title, omnivoreUrl. Optional variables are: siteName, originalUrl, author, labels, dateSaved, datePublished, note',
'The template to use for new articles. Refer to this doc for more info: https://docs.omnivore.app/integrations/logseq.html#controlling-the-layout-of-the-data-imported-to-logseq Variables available could be found here: https://docs.omnivore.app/integrations/logseq.html#variables-available-to-the-highlight-template',
default: defaultArticleTemplate,
inputAs: 'textarea',
},
Expand All @@ -127,7 +127,7 @@ export const settingsSchema = async (): Promise<SettingSchemaDesc[]> => [
type: 'string',
title: 'Enter the template to use for new highlights',
description:
'We use {{ mustache }} template: http://mustache.github.io/mustache.5.html. Required variables are: text, highlightUrl. Optional variables are dateHighlighted. You can also use the variables in the article template.',
'The template to use for new highlights. Refer to this doc for more info: https://docs.omnivore.app/integrations/logseq.html#controlling-the-layout-of-the-data-imported-to-logseq Variables available could be found here: https://docs.omnivore.app/integrations/logseq.html#variables-available-to-the-highlight-template',
default: defaultHighlightTemplate,
inputAs: 'textarea',
},
Expand Down
1 change: 0 additions & 1 deletion src/settings/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export interface ArticleVariables {
note?: string
type: PageType
labels?: Label[]
highlights?: HighlightVariables[]
dateSaved: string
datePublished?: string
dateRead?: string
Expand Down

0 comments on commit 7c56358

Please sign in to comment.