No description
Find a file
Maxim Tiron 556d63aaa3 2.1.10
Signed-off-by: Maxim Tiron <xzstnc@mail.ru>
2025-04-21 13:31:21 +03:00
images Release 2.0.0 2025-01-05 15:08:39 +03:00
src Fixed #6 2025-04-21 13:30:02 +03:00
.editorconfig Updated editor config and license's author 2025-03-11 01:40:38 +03:00
.eslintignore fix .eslintignore (#48) 2023-01-19 10:06:51 -05:00
.eslintrc Updated eslintrc and maked fixes 2025-03-11 01:35:54 +03:00
.gitignore Update .gitignore (#25) 2022-01-28 10:34:53 -05:00
.npmrc add version bump script (#10) 2022-01-22 16:13:50 -05:00
esbuild.config.mjs placeholdering; disable placeholder feature; READMEs; copied js-yaml 2024-12-24 23:50:31 +03:00
LICENSE Updated editor config and license's author 2025-03-11 01:40:38 +03:00
manifest.json 2.1.10 2025-04-21 13:31:21 +03:00
package-lock.json 2.1.10 2025-04-21 13:31:21 +03:00
package.json 2.1.10 2025-04-21 13:31:21 +03:00
README.md Update README.md 2025-04-03 23:23:17 +03:00
README_ru.md gifs have been replaced by webm 2025-04-03 23:18:55 +03:00
tsconfig.json placeholdering; disable placeholder feature; READMEs; copied js-yaml 2024-12-24 23:50:31 +03:00
version-bump.mjs add version bump script (#10) 2022-01-22 16:13:50 -05:00
versions.json Updated min version 2025-03-12 00:50:19 +03:00

Note Placeholder

Obsidian plugin developed by XZSt4nce

[ English | Русский ]

With Note Placeholder, you can add text that will be automatically inserted in place of the link in view mode.

Installation

  1. Go to the Obsidian settings
  2. Go to the "Community plugins" tab
  3. Enable community plugins (if not already enabled)
  4. Click the "Browse" button
  5. Enter "Note Placeholder" in the search and go to the plugin
  6. Click on "Install" and then on "Enable"

how-to-install-plugin.webm

Usage

how-to-simply-use-plugin.webm

Features

Placeholder

You can add a placeholder for the note link by adding the placeholder (if it has not been redefined in the settings) property to it.

placeholderProperty

So this:

noteLink

Will be displayed (in view mode) like this:

placeholderedNoteLink

You can disable the use of link names if the note has a placeholder To do this, you need to set the Use link name instead of placeholder setting to Always off

using-placeholder-instead-of-link-name.webm

Changing placeholder property name

In the settings, you can change the name of the property whose value will be used as a placeholder

changing-placeholder-property-name.webm

Separator

You can specify separator for a headers and a specific block by specifying the special header sep

Example 1:

Link in source mode:

headerSource

Link in view mode:

headerView

Example 2:

Link in source mode:

blockSource

Link in view mode:

blockView

Video example

customizing-headers-separator.webm

Disabling placeholder

By default, to disable the use of placeholder, you need to specify !dp!' as the link name if the value has not been changed in the settings

disabling-placeholder.webm

Settings

  • Placeholder property name : the name of the property, the text of which will be substituted for the link
  • Use link name instead of placeholder
    • default on, but off when specified : the placeholder will only be shown if the link name is not specified
    • always off : the placeholder will always be shown instead of link name
  • Text to disable placeholder : if you insert this text as the link name, the note name will be displayed (default: !dp!)
  • Default header separator : text between the placeholder and headers/block (default: >)

License

MIT License

Bug Report, Feature Request

If you find any bugs or have any feature requests, please report them on the GitHub Issues. Thank you!

Changelog

Versions are controlled by the rule below.

  • Version x.y.z
    • x : increased when huge changes are made(ex. change of logic, etc.)
    • y : increased when features are newly added or changed
    • z : increased when bug fixes are made