EnlighterJS / Plugin.Gutenberg

:pencil: Official EnlighterJS Plugin for WordPress Gutenberg Editor
Mozilla Public License 2.0
21 stars 1 forks source link

Comment block does not translate correctly #7

Closed TheBrianGraf closed 5 years ago

TheBrianGraf commented 5 years ago

using code (working currently with PowerShell), the '<#' does not translate correctly, so the following code:

function Save-InternetFile { <# .NOTES

>

Appears as:

function Save-InternetFile { <# .NOTES

>

AndiDittrich commented 5 years ago

Hi @vtagion ,

i cannot see any difference in the examples you've posted above. which EnlighterJS version do you use ? Powershell support is only available in v3 which is not part of the WordPress Plugin

TheBrianGraf commented 5 years ago

Apologies, It appears github translates correctly :) '<#' is coming through as '& l t ; #' the '#>' translates correctly.

anything I can do to help do support PowerShell again? Happy to contribute if I can

AndiDittrich commented 5 years ago

hm...i cannot reproduce your issue.


EnlighterJS 3 PowerShell Example

code used to create the highlighting (raw html) image

result image