unverbuggt / mkdocs-encryptcontent-plugin

A MkDocs plugin that encrypt/decrypt markdown content with AES
https://unverbuggt.github.io/mkdocs-encryptcontent-plugin/
MIT License
130 stars 16 forks source link

How to separately configure the prompt information #67

Closed W1ndys closed 8 months ago

W1ndys commented 8 months ago

How to separately configure the prompt information "summary", "encryption_info_message", "placeholder", and "decryption_failure_message" for each page? I have tested it, and the result is that "encryption_info_message" can be configured separately for each page, but other variables can only Depends on global settings in mkdocs.yml

unverbuggt commented 8 months ago

Hi,

currently encryption_summary and encryption_info_message can be used to customize the strings per-page (see here). Had to rename summary from "mkdocs.yml" to encryption_summary because these meta tags might be needed for other puposes (f.ex. to be used by search engines).
Placeholder and decryption failure message is currently not customizable per page, but they can be customized per-language.

W1ndys commented 8 months ago

Hi,

currently encryption_summary and encryption_info_message can be used to customize the strings per-page (see here). Had to rename summary from "mkdocs.yml" to encryption_summary because these meta tags might be needed for other puposes (f.ex. to be used by search engines). Placeholder and decryption failure message is currently not customizable per page, but they can be customized per-language.

Thank you, I will read your explanation carefully