Powershell in visual Editor
Kerwyn Raczaron
Hello,
Users of Wiki.js for a few days we have a small problem with the visual editor code block. In the drop-down menu powershell isn't present and i can't change it from the visual editor.
Switching to markdown i can edit it following instruction found in this closed case : https://feedback.js.wiki/wiki/p/powershell-code-blocks
But when reverting to visual editor the changes are losts and it goes back to simple text.
Is it a quick way to add powershell to the drop-down so we can use the syntax highlighting with the visual editor ?
D
Dan Anstis
Ideally we would be able to define a list of languages in the UI for this.
S
SteveA
The instructions on that closed case worked well. I don't understand why it was closed. And if the system does in fact use highlightjs, why not have all available languages enabled? Make the dropdown a searchable and scrollable list with a few "popular" listed at the top.
My edited version works.