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

Add syntax highlighting for .cabal files #42

Open
nattybear opened this issue Apr 13, 2024 · 4 comments
Open

Add syntax highlighting for .cabal files #42

nattybear opened this issue Apr 13, 2024 · 4 comments

Comments

@nattybear
Copy link

Currently, the Haskell Wiki lacks syntax highlighting support for .cabal files, which are crucial for managing Haskell projects. Adding syntax highlighting for these files would greatly benefit developers working with Haskell.

@hgolden
Copy link
Collaborator

hgolden commented Apr 15, 2024

@nattybear , since the Haskell wiki is based on Mediawiki, you can syntax highlight any language supported by Pygments. However, I don't see that there is a grammar for .cabal files. Perhaps someone working on the Cabal project can provide you one or help you to add one to Pygments.

@nattybear
Copy link
Author

I just use syntax highlighting for yaml like below:

<syntaxhighlight lang=yaml>
...
</syntaxhighlight>

@hgolden
Copy link
Collaborator

hgolden commented Apr 19, 2024 via email

@nattybear
Copy link
Author

Yes, please close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants