I heard give me a new name, it will be easier for you to find me
-
Auto Alias: Generate three by default, English, Pinyin and Pinyin initials
- 1 Automatically generate an alias of
English translation
+hash
and save it inname
andcustom-slug
attributes. - 2 Automatically generate the alias of
pinyin
+hash
and save it in thealias
property. - 2 Automatically generate an alias of
Pinyin initials
+hash
and save it in thealias
property.
Note 1: An additional
custom-slug
key is saved for compatibility with thesiyuan-plugin-publisher
plugin.Note 2: The purpose of hash is to prevent duplicate aliases of two documents. Just like in reality, if you call two people with the same name, who will agree, haha, right?
- 1 Automatically generate an alias of
-
Support viewing: In the right-click menu, you can view and modify the naming and alias of the current setting
-
Q1: What is the origin of this plugin?
A1: Refer to Automatically add pinyin as aliases to new files. If the alias is automatically generated, after the alias search is enabled, the efficiency can be greatly improved. Because, you think, typing an English character or pinyin must be faster than Chinese characters, right?
-
Q2: Can it be automatically generated when creating a new document?
A2: Yes. v0.1.0 supports automatic generation when renaming the title. Of course, you can also click the button on the top bar to generate.
-
Q3: Why can't the automatically generated key be changed?
A3: This is for compatibility with subsequent publishing tools, and this key is actually only concerned by developers. Ordinary users have no obvious perception, it is just a convention. Of course, if there is a strong demand for changes, subsequent versions may also consider supporting custom named keys. Note: The key of non-custom attribute cannot be modified.
-
Q4: How to enable alias search?
A4: Go to
Settings
->Search
, you can find the switch to enable alias search, you can choose naming, alias and custom attributes.
v0.3.0 主要更新
- Both batch and incremental builds are supported
v0.2.0 Major Update
- #25 Docker compatible
- Support for disabling aliases
- Support to remove pinyin-
- Support clearing naming
- Upgrade dependencies
v0.1.0 major update
- Provide friendly error prompts (16fa881)
- Support automatically generating aliases when renaming document titles (b3ceab4)
v0.0.2 major update
- Fix build error (a8ea298)
v0.0.1 major update
- first version
For more update records, please check CHANGELOG
If you approve of this project, invite me to have a cup of coffee, which will encourage me to keep updating and create more useful tools~
Thanks to frostime for the project template