unverbuggt / mkdocs-encryptcontent-plugin

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

override decrypt-form.tpl.html #32

Closed unverbuggt closed 1 year ago

unverbuggt commented 2 years ago

Hi,

is it possible ot override decrypt-form.tpl.html somehow? I haven't found another way then changing the file in the site-packages which is overwritten after each pip upgrade.

The html template is simple, just a input and optional button element without assigned css classes or style tag. It looks acceptable on mkdocs theme, but not so well on others.

CoinK0in commented 1 year ago

I added several configurations to allow the override of the templates used (JS and HTML). Details of this feature are described here Override default templates.

Version 2.3.0.

unverbuggt commented 1 year ago

Wow, this resolves all of my small problems. Thank you very much.

CoinK0in commented 1 year ago

Thank you for the suggestions for improvements. Sry for your PR.