you have to exclude the Enlighter resources from caching (wp-content/plugins/enlighter) – simple cache algorithms didn’t take care of the dynamically generate files.
Thanks its working fine now. Can you please advise on point:
> How can i Apply Code Block Title [I can achieve this by using Code Group but then A unique identifier is required for each code block to display the Code Title which is not ideal]. Is there an easy way to show the code blocks with Title e.g the Language of the Code ?
Also How can i add the default language to Set to Powershell instead of Generic Highlighting. Everytime i copy the code i have to change the language to Powershell.
codeblock title: this feature is projected for the upcoming pro/enterprise editions. currently the workaround (or some kind of php based regex filtering) is the only way to go.
a pre-selection has not been implemented yet. it can be added in the future – but i’m not sure if it should be done via the settings or just using the “last used language” within the localStorage on per-user base.
as a workaround you can alter the language list via filters and just add your favorite language as first array item
Thanks for the quick response. Can you please share the PHP RegEx based code which i can just paste in My Code Snippet and test for Code Block.
This is the example link where you can see i have code title + Code Identifier which enabled me to show the code block title, but this is really cumbersome to do this way.
https://techpress.net/office365-exchange-online-messages-are-not-moving-to-archive-mailbox-after-applying-retention-policy-litigation-hold-retention-hold/
When you can on the Site you will see that i am using enlighter theme which when you hover over the code shows the Icons for Copy, RAW and Open in New Window. Is it Possible to change the icons and replace it with the Names or buttons. Some custom CSS if you can provide ?
i’m sorry but i didn’t have the time to provide custom solutions right now (no ready-to-go code-snippet available)
change toolbar styles: https://github.com/EnlighterJS/documentation/blob/master/Tweaks.md
When the Pro version will be available. Looking forward for the pro version.