Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delphi highlighter does nothing #4014

Open
vincentparrett opened this issue Mar 13, 2024 · 1 comment
Open

Delphi highlighter does nothing #4014

vincentparrett opened this issue Mar 13, 2024 · 1 comment
Labels
bug help welcome Could use help from community language

Comments

@vincentparrett
Copy link

Describe the issue

The delphi highlighter appears to be broken, no highlighting occurs.

Which language seems to have the issue?

delphi - not using autohighlight.

Are you using highlight or highlightAuto?

don't know - using https://highlightjs.org/demo to test but I first saw the issue in discourse.

Sample Code to Reproduce

procedure test(const s : string);
var
   x : integer;
begin
   x := 0;
   exit;
end;

Expected behavior

Keywords (procedure, var, begin, end, exit) should be bold and coloured.
Built in types string and integer should be bold and coloured (different to keywords).

@vincentparrett vincentparrett added bug help welcome Could use help from community language labels Mar 13, 2024
@vincentparrett vincentparrett changed the title (language name) Short description of issue... Delphi highlighter does nothing Mar 13, 2024
@joshgoebel
Copy link
Member

Maybe @allejo can take a look, this definitely works in the developer tool, so the problem isn't with Highlight.js I don't think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help welcome Could use help from community language
Projects
None yet
Development

No branches or pull requests

2 participants