haskell / haskell-wiki-configuration

Issue tracking for Haskell Wiki
https://wiki.haskell.org/
4 stars 4 forks source link

Add syntax highlighting for .cabal files #42

Open nattybear opened 3 months ago

nattybear commented 3 months ago

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 commented 3 months ago

@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 commented 3 months ago

I just use syntax highlighting for yaml like below:

<syntaxhighlight lang=yaml>
...
</syntaxhighlight>
hgolden commented 3 months ago

Is the YAML syntax highlighting sufficient for your needs? If so, I will close this.

On Thu, 2024-04-18 at 21:22 -0700, 준규 wrote:

I just use syntax highlighting for yaml like below:

...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

nattybear commented 3 months ago

Yes, please close it.