zmarkdown icon indicating copy to clipboard operation
zmarkdown copied to clipboard

[API] Configurable options

Open viki53 opened this issue 3 years ago • 2 comments

Some options such as emojis replacement would be nice to have as options through the API.

Right now they get replaced no matter what, but I don't want/need to use a custom set of images on my website, so native emojis would be better than missing images. 🙃

Cold this (and other similar settings) become an option of the zmarkdown package?

viki53 avatar Sep 29 '21 16:09 viki53

The way we currently handle options through the API is quite ZdS-specific and is likely to remain so. Although I do think it would be possible to allow deactivating a specific plugin without too much overhead, the recommended way to configure the zmarkdown package as of today is not through the API, but instead by importing it using NPM and giving it your own configuration.

However, for this specific need, it might be easy to do, and I will try to implement it in a future version.

StaloneLab avatar Oct 24 '21 14:10 StaloneLab

Thanks for your reply,

Is there any recommendation as to how I should configure that in the meantime to avoid having broken images and missing emojis on my blog?

If that helps, I'm using Ansible to publish, like ZdS is. :)

viki53 avatar Oct 26 '21 15:10 viki53