-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for referenced note as body content (version 0.2.0)
- Loading branch information
Showing
6 changed files
with
50 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ This plugin lets you plan small emails inside your [Obsidian](https://www.obsidi | |
|
||
Add the "email" code block into your note: | ||
|
||
... with plain text as body content: | ||
```` | ||
to: [email protected] | ||
|
@@ -30,19 +31,29 @@ body: "Hey info, | |
``` | ||
```` | ||
|
||
... with a referenced note as body content: | ||
```` | ||
to: [email protected] | ||
subject: My Subject | ||
body: [[MyMail4711]] | ||
``` | ||
```` | ||
|
||
### Parameter | ||
|
||
You can customize the view with the following parameters: | ||
|
||
| Parameter | Description | Values | | ||
|------------|--------------------------------------------------------------------|----------------------------| | ||
| to | The main receiver of the mail. Multiple receiver seperated by ",". | String value | | ||
| cc | The cc receiver of the mail. Multiple receiver seperated by ",". | String value | | ||
| bcc | The bcc receiver of the mail. Multiple receiver seperated by ",". | String value | | ||
| subject | The subject of the email. | String value | | ||
| body | The body of the email. | String value | | ||
| showmailto | Show the "mailto" link after the mail body. | true/false (Default: true) | | ||
| Parameter | Description | Values | | ||
|------------|------------------------------------------------------------------------|----------------------------| | ||
| to | The main receiver of the mail. Multiple receiver seperated by ",". | String value | | ||
| cc | The cc receiver of the mail. Multiple receiver seperated by ",". | String value | | ||
| bcc | The bcc receiver of the mail. Multiple receiver seperated by ",". | String value | | ||
| subject | The subject of the email. | String value | | ||
| body | The body of the email. Plain text or a link to a \[\[NoteFile\]\] (x). | String value | | ||
| showmailto | Show the "mailto" link after the mail body. | true/false (Default: true) | | ||
|
||
x) Note that no formatting is supported (only new lines) ([reason](https://stackoverflow.com/questions/5620324/mailto-link-with-html-body)). | ||
### Example | ||
|
||
![Example](example/email-block-plugin.gif) | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters