Skip to content

Commit

Permalink
update: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anpigon committed Aug 14, 2022
1 parent bf1d7af commit 818995a
Showing 1 changed file with 8 additions and 36 deletions.
44 changes: 8 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,47 +56,19 @@ Search in the Obsidian Community plugin. And install it.

## How to use settings

### Text to insert into front matter
### <strike>(Deprecated) Text to insert into front matter</strike>

You can add the following to the default Front Matter, or create a new Front Matter with the structure you want.

Use variable substitution syntax.

![](https://user-images.githubusercontent.com/3969643/168297106-27b887e9-be1b-492b-96a9-554696d84abe.png)

#### Example template

```
title: {{title}} - {{author}}
publisher: {{publisher}}
publish: {{publishDate}}
total: {{totalPage}}
isbn: {{isbn10}} {{isbn13}}
cover: {{coverUrl}}
```
<strike>You can add the following to the default Front Matter, or create a new Front Matter with the structure you want.</strike>

<br>

### Text to insert into content

You can add text to the content for [Dataview inline metadata](https://blacksmithgu.github.io/obsidian-dataview/data-annotation/#pages).

![](https://user-images.githubusercontent.com/3969643/168297600-0ae37bef-7e26-4d06-9d91-2308f62b7b96.png)

#### Example template
### <strike>(Deprecated) Text to insert into content</strike>

```
# {{title}}
<strike>You can add text to the content for [Dataview inline metadata](https://blacksmithgu.github.io/obsidian-dataview/data-annotation/#pages).</strike>

author:: {{author}}
publisher:: {{publisher}}
publishDate:: {{publishDate}}
totalPage:: {{totalPage}}
isbn10:: {{isbn10}}
isbn13:: {{isbn13}}
<br>

![cover]({{coverUrl}})
```
Please use the template file described below.

<br>

Expand All @@ -112,7 +84,7 @@ author: [{{author}}]
publisher: {{publisher}}
publish: {{publishDate}}
total: {{totalPage}}
isbn: {{isbn10}} {{isbn13}}
isbn: {{isbn10}} {{isbn1#template-variable-definition
cover: {{coverUrl}}
status: unread
created: {{DATE:YYYY-MM-DD HH:mm:ss}}
Expand Down Expand Up @@ -165,7 +137,7 @@ The banner at the top of the document is rendered using [Obsidian-banners](https

<br>

## Template variable definition
## Template variables definitions

Please find here a definition of the possible variables to be used in your template. Simply write `{{name}}` in your template, and replace name by the desired book data, including:

Expand Down

0 comments on commit 818995a

Please sign in to comment.